Small character encoding glitch?
-
The JSON source I use has a number of HTML fields. The :html attribute works well except that it seems to have trouble with non-breaking space entities ” ”
These seem to get stored as invalid characters and display in Chrome as “?”/black diamond icons.
Anyone else having a similar issue? We are using UTF8 all the way — the non-breaking space character seems to be the only issue. Right now I’m fixing this with jQuery loading after the page loads:
var thisTxt = jQuery(“div.pf-content”).html();
jQuery(“div.pf-content”).html(thisTxt.replace(/\uFFFD/g, ‘ ‘));If this can be fixed in the parser, that would be much better!
Thanks again Bernhard.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Small character encoding glitch?’ is closed to new replies.