Encoding non-English characters
- by Martin
Hey there!
I'm having a bit of trouble here and I was hoping someone throws me a hint :)
I'm getting some GET VARS with JS but I have trouble with non-latin charsets: cyrillic for example. The cyrillic var appears correct in the url but when I retrieve it with JS I get some dummy string.
I was wondering of a function similar to "unescape" for such a case.
Alternatively, if someone knows a way I could convert a cyrillic string to the same dummy string I get from the URL, it will still do me the trick, since all I need is compare.
:)
Thanks!
Martin