blog
old-invention-blog
tech
Strategy for guessing encodings
Came across this in comp.lang.python, fairly useful for localization work as you often have to guess what encoding something is in: Re: character encoding conversion Now, how should you guess the encoding? Here is a strategy: 1. use the encoding that was sent through the HTTP header. Be