utf8_unicode_ci collation doesn't work
I've created a innodb mysql 4.1 database with utf8 charset and utf8_unicode_ci collation.
When a connect this database I set this variables:
character_set_client = utf8
character_set_connection = utf8
character_set_database = utf8
character_set_results = utf8
character_set_server = utf8
character_set_system = utf8
collation_connection = utf8_unicode_ci
collation_database = utf8_unicode_ci
collation_server = utf8_unicode_ci
The problem arrive when I try to execute a query on a field with accents. The collation is not working, for example:
Table: People
id | name
---------------
1 | Márcio
2 | Uílton
Query 1: select * from people where name like 'már%';
Return: Márcio
Query 2: select * from people where name like 'mar%';
Return: Nothing
What's happening? Any ideia?
Subject
Views
Written By
Posted
utf8_unicode_ci collation doesn't work
2664
June 04, 2006 09:42PM
1669
June 08, 2006 04:37AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.