utf 8 - MySQL utf8_czech_ci vs utf8_general_ci -


i have application based in czech language, why uft8_czech_ci.

given example:

where `firstname` = 'ales' collate utf8_czech_ci 

i unable find result aleš (which common czech name). when try this:

where `firstname` = 'ales' collate utf8_general_ci 

it successfuly finds aleš. utf8_czech_ci definition in mysql incorrect? don't want blindly start using general_ci.

thanks.

the reason š , s 2 different letters in cz alphabet, that's that's why it's not found when using utf8_czech_ci collation.

see http://collation-charts.org/mysql60/mysql604.utf8_general_ci.european.html , http://collation-charts.org/mysql60/mysql604.utf8_czech_ci.html


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -