easy way to write non english chars?
I'm kind of new to js, I wanted to write some non english chars inside an array, and it only seems to work if I write unicode notation, e.g. "\u1234" per char. I was wondering if there is some easier way to do this, maybe somehow specify to the browser that the js file is utf8-encoded or something similar, but I'm not sure how to do that.
one more thing: i DO include the script with a charset attribute like so:
problem solved :-)
sorry, forgot to actually SAVE the js file with utf8 encoding, my nodepad++ editor was set to ANSI.
We've all done it, sometime, sagimann !
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)