scikit-learn/scikit-learn — pull request #2397 by larsmans (2013-08-26 17:12:35+00:00)
Title: WIP improve encoding docs

I added an example using `chardet`, but on short texts it seems to be getting the encoding wrong consistently. All three strings are Heinrich Heine quotes, in UTF-8, Latin-1 and UTF-16LE, respectively. `chardet` gets the first two wrong, thinking they're both Latin-2. For the second string, that doesn't matter. Fixes #2105.