2 ms·
Not sure this one came from Gutenberg; at least, I can't seem to find a Swedish version of it there. But anyhow, either the source is worthless, or some convers
by jfk13 8y ago
Not sure this one came from Gutenberg; at least, I can't seem to find a Swedish version of it there. But anyhow, either the source is worthless, or some conversion process somewhere was bad. A vs Å is not a minor or optional issue in Swedish; å, ä and ö are separate letters of the alphabet in their own right, and "omitting accents" isn't a thing. It's just wrong.
(E.g. see the Swedish alphabet at http://omniglot.com/writing/swedish.htm http://omniglot.com/writing/swedish.htm)
> I threw in the towel and just used BeautifulSoup's UnicodeDammit to brute-force a working encoding.
For a limited definition of "working", at times! "A working encoding" that shows the wrong letters isn't "working" in a very useful sense.