weber on November 12th, 2009

MySQL properly stores non-standard ASCII characters but when it compares them on the uniqueness it treats them as standard ASCII characters. For example, “o” (HEX code 0x6F) and “ó” (shown below as � having a HEX code 0xF3) can be stored as they are but are not unique: mysql> SHOW CREATE TABLE test; +———+—————————————————————————-+ | [...]

Continue reading about MySQL behaviour with non-standard ASCII characters