I have a list of names in JavaScript, eg name = "John&martin"
but in the display in my interface it looks like John&martin
, with ampersand character printed as &
not as &
.
I worked with the UTF-8 or even with the ASCII code, but I find no result. How to print &
character as &
not as &
?