We have trouble with the format of our text display on our website. In the meta head we have defined utf8 but somehow our text - coming from external source - is looking like this:
O próximo station d'essence
So we think that the external source is not converting it correctly.
How would be the correct converting into utf8 in javascript ? We've tried now a lot functions to do this but it seems not to be possible to convert O próximo station d'essence
to O próximo station d'essence
with the default methods we've found (escape, unescape, decodeURIComponent, encodeURIComponent
, ...)