Re: charset problem
Posted by: László Kővári
Date: November 21, 2011 05:29PM

I found a possible solution for this problem.
The following settings need to put into my.ini
[mysqld]
init_connect='SET collation_connection = utf8_hungarian_ci'
init_connect='SET NAMES utf8'
character-set-filesystem=utf8
character-set-server=utf8
collation-server=utf8_hungarian_ci
skip-character-set-client-handshake
After need to modify the collation of database:
ALTER DATABASE dict CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
All content is need to exists in the selected character set,therefore I needed to convert it to desired character set, in this case utf8_hungarian_ci
ALTER TABLE words CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
Of course not need the BINARY option after WHERE keyword.

Options: ReplyQuote


Subject
Views
Written By
Posted
4501
November 17, 2011 03:07PM
1996
November 19, 2011 12:47AM
Re: charset problem
2436
November 21, 2011 05:29PM
3158
November 24, 2011 10:06PM


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.