i'm want create moment using 'mmmm yyyy' format. work when month name not contain accent, fail , detect invalid month when month name contain accent.
working
var mymoment = moment('janvier 2015', 'mmmm yyyy'); not working
var mymoment = moment('février 2015', 'mmmm yyyy'); var mymoment = moment('août 2015', 'mmmm yyyy'); i'm trying force utf-8 doesn't seems enough
<meta charset="utf-8">
try write in html static text. guarantees editor uses utf-8.
javascript specify <script charset=...> too.
alternative:
'f\u00e9vrier' , 'ao\u00fbt'. charmap shows codes.
Comments
Post a Comment