Core: How to translate special characters like 谩

Created on 18 May 2016  路  3Comments  路  Source: ngx-translate/core

the json file is like this:

{
"CHANGELINES": "Cambiar tr谩mite",
}

and show this:

Cambiar tr锟絫e

Thanks a lot

invalid

Most helpful comment

@gastonmq as @ocombe said it might have to do with how you save the file.
Try saving the file as utf-8 enconding

All 3 comments

I think you have a problem of encoding on your json file, because I have accents in my translations files and no problems...

Than, I solved as follows

{
"CHANGELINES": "Cambiar tr\u00e1mite",
}

@gastonmq as @ocombe said it might have to do with how you save the file.
Try saving the file as utf-8 enconding

Was this page helpful?
0 / 5 - 0 ratings

Related issues

crebuh picture crebuh  路  3Comments

guysan picture guysan  路  4Comments

rbaumi picture rbaumi  路  4Comments

jellene4eva picture jellene4eva  路  3Comments

louisdoe picture louisdoe  路  3Comments