Western European character sets cover most West European languages, such as French, Spanish, Catalan, Basque, Portuguese, Italian, Albanian, Dutch, German, Danish, Swedish, Norwegian, Finnish, Faroese, Icelandic, Irish, Scottish, and English.
ascii(US ASCII) collations:ascii_binascii_general_ci(default)
cp850(DOS West European) collations:cp850_bincp850_general_ci(default)
dec8(DEC Western European) collations:dec8_bindec8_swedish_ci(default)
The
deccharacter set is deprecated; expect support for it to be removed in a subsequent MySQL release.hp8(HP Western European) collations:hp8_binhp8_english_ci(default)
The
hp8character set is deprecated; expect support for it to be removed in a subsequent MySQL release.latin1(cp1252 West European) collations:latin1_binlatin1_danish_cilatin1_general_cilatin1_general_cslatin1_german1_cilatin1_german2_cilatin1_spanish_cilatin1_swedish_ci(default)
MySQL's
latin1is the same as the Windowscp1252character set. This means it is the same as the officialISO 8859-1or IANA (Internet Assigned Numbers Authority)latin1, except that IANAlatin1treats the code points between0x80and0x9fas “undefined,” whereascp1252, and therefore MySQL'slatin1, assign characters for those positions. For example,0x80is the Euro sign. For the “undefined” entries incp1252, MySQL translates0x81to Unicode0x0081,0x8dto0x008d,0x8fto0x008f,0x90to0x0090, and0x9dto0x009d.The
latin1_swedish_cicollation is the default that probably is used by the majority of MySQL customers. Although it is frequently said that it is based on the Swedish/Finnish collation rules, there are Swedes and Finns who disagree with this statement.The
latin1_german1_ciandlatin1_german2_cicollations are based on the DIN-1 and DIN-2 standards, where DIN stands for Deutsches Institut für Normung (the German equivalent of ANSI). DIN-1 is called the “dictionary collation” and DIN-2 is called the “phone book collation.” For an example of the effect this has in comparisons or when doing searches, see Section 12.8.6, “Examples of the Effect of Collation”.latin1_german1_ci(dictionary) rules:Ä = A Ö = O Ü = U ß = slatin1_german2_ci(phone-book) rules:Ä = AE Ö = OE Ü = UE ß = ss
In the
latin1_spanish_cicollation,ñ(n-tilde) is a separate letter betweennando.macroman(Mac West European) collations:macroman_binmacroman_general_ci(default)
macroromanis deprecated; expect support for it to be removed in a subsequent MySQL release.swe7(7bit Swedish) collations:swe7_binswe7_swedish_ci(default)