I am using jquery $ .getJSON to get a list of cities.
Everything works fine, but I am from Estonia, and we use some characters, such as õ, ü. ä, ö.
When I pass such letters to the callback function, I keep getting blank lines. I tried to use base64 encode (server-side) -decode (jquery base64 plugin) strings (I thought it was a good idea while I can compress pages with php, so I don't need to worry about bandwidth), but this way I get some random chinese characters.
What will be the best solution to this problem.
Thanks.
jquery base64 unicode getjson
Mikk
source share