Expand my Community achievements bar.

Euro symbol not getting displayed in the browser

Avatar

Level 2

I hope someone can help me here .

here is my code where am trying to display the Euro symbol from the jssp page 

 document.write(' € 20,00');

 

and response is coming with '?'

melinam63825268_0-1606136152451.png

 

3 Replies

Avatar

Level 2

hi @Darren_Bowers - my output in the browser is a json like below . And all the euro signs are  getting replaced with '?' in the browser . as its a json am unable to use HTML endode code for the euro sign .

melinam63825268_0-1606194364604.png

 

Avatar

Level 9
You can try using mutibyte unicode escaping in your JSON output e.g. "fare": " price at \u20ac 20,00 with discount \u20ac 34"