Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Euro symbol not getting displayed in the browser

Avatar

Level 1

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 1

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

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