What HTML text encoding exactly corresponds to MySQL charset "latin1"? ISO-8859-1, ISO-8859-2, ISO-8859-15, or another one?
+4
A:
It's actually the same as cp1252, which is actually a Windows code page. In terms of the ISO standards, it's closest to ISO 8859-1, except that it defines a few more characters (such as the Euro symbol).
Dean Harding
2010-03-17 00:32:25
You've got it the wrong way around - Latin-1 is the informal name of ISO-8859-1, while Windows-1252 is mostly the same (but not quite).
David Johnstone
2010-03-17 00:44:27
That's true, but MySQL's "latin1" encoding is the same Windows-1252.
Dean Harding
2010-03-17 00:47:18
Oh, that's confusing :-) You are right, as this page says: http://dev.mysql.com/doc/refman/5.0/en/charset-we-sets.html
David Johnstone
2010-03-17 01:00:06
Tell me about it :)
Dean Harding
2010-03-17 02:27:11