Google Maps and UTF-8

I bet everyone’s already using the UTF-8 encoding for all their pages. Well, windows-1251 remains the most popular russian encoding, although many people have realized that 1251 won’t go far.

I’ve been binding some Google Maps to a cp1251 page and hadn’t had any trouble viewing it through mozilla firefox and opera browsers, but when I switched to internet explorer, I had the google map all messed up. That’s probably because opera and firefox can handle multiple codepages, unlike explorer.

I’m pretty sure there must be a work-around this in the Google Maps API by passing some language parameters, though I still want my map to be in russian, not english. So I guess I’ll just have to stick to the UTF-8 encoding. Weird..

About the author

Konstantin Kovshenin

WordPress Core Contributor, ex-Automattician, public speaker and consultant, enjoying life in Moscow. I blog about tech, WordPress and DevOps.