Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MySQL doesn't accept cyrillic characters
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
xtz
Apprentice
Apprentice


Joined: 29 Oct 2007
Posts: 181
Location: Singapore

PostPosted: Mon Jan 21, 2008 11:35 am    Post subject: MySQL doesn't accept cyrillic characters Reply with quote

I am trying to run a CMS (Content Management System), and I've just discovered, that MySQL doesn't wanna insert any cyrillic (1251 encoding) character in any table. For example, when I try to post a phpBB topic in cyrillic, it justs post empty message. If I try to create a forum, which name is in cyrillic, it creates an empty one. Apache displays 1251 fine, php has no problems either. I just can't find out what's the problem with MySQL. Here's a little information about how is MySQL installed on the machine:
biliana ~ # emerge mysql -pv
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-db/mysql-5.0.44-r2 USE="perl -berkdb -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux) -ssl -static" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB

And this is from my.cnf:
[mysqld]
character-set-server = cp1251
default-character-set = cp1251

Any ideas of what's wrong?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum