MySQL: String Collating Support

13 maggio 2009 - Fonte: http://linuxlandit.blogspot.com/ Lascia il tuo commento »
E' la tua prima volta qui? Allora iscriviti GRATIS ai nostri feeds! 
If the sorting rules for your language are too complex to be handled with the simple sort_
order[] table, you need to use the string collating functions.
Right now the best documentation on this is the character sets that are already imple-
mented. Look at the big5, czech, gbk, sjis, and tis160 character sets for examples.
You must specify the strxfrm_multiply_MYSET=N value in the special comment at the top
of the file. N should be set to the maximum ratio the strings may grow during my_strxfrm_
MYSET (it must be a positive integer).
4.6.6 Multi-byte Character Support
If your want to add support for a new character set that includes multi-byte characters,
you need to use the multi-byte character functions.
Right now the best documentation on this is the character sets that are already imple-
mented. Look at the euc kr, gb2312, gbk, sjis and ujis character sets for examples. These
are...

Leggi il seguito »






SEGNALA / INVIA QUESTO POST:  Share
Hai trovato questo articolo interessante? Iscriviti GRATIS ai nostri feeds! 

Lascia un Commento