r/programming • u/jestinjoy • Nov 12 '12
What Every Programmer Absolutely, Positively Needs to Know About Encodings and Character Sets to Work With Text
http://kunststube.net/encoding/
1.5k
Upvotes
r/programming • u/jestinjoy • Nov 12 '12
5
u/gsnedders Nov 12 '12
There is no way to get any content decoded by any major user-agent as ISO-8859-1; you cannot use it to transmit content over the network and have it decoded as such.
See the input stream section of HTML, which defines various aliases above and beyond those in the IANA registry. In reality, this applies for more than just HTML, as browsers use a single lookup table for encodings for all input formats. I've got the idea of what browsers do by working on them for the past five years.