tinisles.com - Tin Isles : My Tech Blathering

Example domain paragraphs

Here’s a problem I’ve recently hit at work. I hit the google geocode API with a couple of thousand addresses and stored the JSON results. Using the WebClient DownloadString method I didn’t think to set anything for the encoding. Browsing through the output files I see “Dorfstraße” where I’m expecting to see “Dorfstraße”. Urgh, mojibake !

Here’s my understanding of what went wrong:

I’ve got the files on my disk. How would I fix it? Here’s the plan to put things in reverse..