07.09.2009, 18:44
|
#12
|
Senior Member
Регистрация: 20.07.2007
Адрес: Беларусь, Минск
Сообщений: 957
|
Цитата:
Сообщение от viod
А utf8_general_ci или utf8_unicode_ci ????
Сайт нужно делать на немецком и русском языках
|
Все что идет после utf8_ влияет только на порядок сортировки.
Для немецкого языка лучше подойдет utf8_unicode_ci.
Подробности есть здесь: http://forums.mysql.com/read.php?103...748#msg-188748
Цитата:
1. utf8_unicode_ci supports so called expansions and ligatures, for example:
German letter ß (U+00DF LETTER SHARP S) is sorted near "ss"
Letter Œ (U+0152 LATIN CAPITAL LIGATURE OE) is sorted near "OE".
utf8_general_ci does not support expansions/ligatures, it sorts
all these letters as single characters, and sometimes in a wrong order.
2. utf8_unicode_ci is *generally* more accurate for all scripts.
For example, on Cyrillic block:
utf8_unicode_ci is fine for all these languages:
Russian, Bulgarian, Belarusian, Macedonian, Serbian, and Ukrainian.
While utf8_general_ci is fine only for Russian and Bulgarian subset of Cyrillic.
Extra letters used in Belarusian, Macedonian, Serbian, and Ukrainian
are sorted not well.
|
|
|
|