Am 16.05.2011 16:32, schrieb Макс Долгов:
> I'm stuck trying to add some special symbols such as "$ (&dollar)" or "€
> (&euro)" dynamically from script. When I set them as static in XUL markup -
> everything works fine:
> log('nv:' + nv); // nv:€
Have a look at the website below to find out how to escape UTF-8 symbols
correctly in javascript:
http://0xcc.net/jsescape/
in your case
log('nv:\u20AC')
should do the trick.