I'm receiving from my server a string with "
char as "
.
I would like to display this string correctly without any coded characters
So I try to use decodeURI or unescape function as follows:
decodeURI(""")
unescape(""")
buy still the output stays coded
"""
Any clue why?
Thanks!
decodeURI()
andunescape()
are used to decode URI content, not HTML. I think you are mixing your technologies.If jquery is available then these might help you: Javascript decoding html entities How to decode HTML entities using jQuery?