Play time is over and I am now building a couple of servers
using Ubuntu 8.04 and the latest git version of Koha. So far the installations
have been clean and easy. I have just one more UTF-8 encoding question.
Being in the southwestern
The
word Univerzalitaěs is a unicode combining form. When you copy/paste it into a
text editor or use a keyboard to type it, it is most likely going to be the
non-combining form: Univerzalitás. (in the non-combining form, the hex for the
accented a is: Hex 0301; for the non-combining form it’s: Hex 61, Hex 00e1).
Non-combining
form: http://www.fileformat.info/info/unicode/char/00e1/index.htm
Combining
form: http://www.fileformat.info/info/unicode/char/61/index.htm
http://www.fileformat.info/info/unicode/char/0301/index.htm
Univerzalitás
Univerzalitaěs
It
seems that the utf8_general_ci collation doesn’t support equality for those two
forms. However, utf8_unicode_ci seems to work. If you have combining characters
in your data, you may want to go with statements like:
ALTER
TABLE marc_word MODIFY word VARCHAR(255) CHARACTER SET utf8 COLLATE
utf8_unicode_ci;
and
be sure to add init-connect = ‘SET collation_connection = utf8_unicode_ci’ to
your my.cnf
Thanks,
John
+----------------------------------------------------------------------------+
John Chadwick, Ed.D. Information Technology Manager
1209 Camino Carlos Rey
Phone: 505-476-9740 Cell: 505-629-8116 Fax:
505-476-9761