Forum Moderators: open
I don't know how to tackle this, I need to display the ü and ū characters like I write them here in a dynamically created javascript select box. Is there a certain function I can call on this to display these characters properly?
Seems javascript doesn't play nice with Unicode characters...
I simply write strings like obj.options[obj.options.length] = new Option('ū'),'133'); to a container, but they are encoded in the DB like &#363, so I use PHP's html_entity_decode() on the database result first, next I need to prepare for javascript, but this fails....
edit: seems WebmasterWorld doesn't like the Unicode Character 'LATIN SMALL LETTER U WITH MACRON' (U+016B) either....