utf8_unicode_ci collation doesn't work
Posted by: Uilton Dutra
Date: June 04, 2006 09:42PM

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?

Options: ReplyQuote


Subject
Views
Written By
Posted
utf8_unicode_ci collation doesn't work
2588
June 04, 2006 09:42PM


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.