내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

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 답변 개

Avatar

Level 9

Hi @melinam63825268 - you can try encoding the output using € or one of the other HTML codes.

https://www.rapidtables.com/web/html/html-codes/html-code-euro.html

Cheers

Darren

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"