egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mysql - encoding problem with non-latin strings

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
FallFromGrace
Voice


Joined: 28 Jul 2008
Posts: 17

PostPosted: Thu Dec 04, 2008 4:52 pm    Post subject: mysql - encoding problem with non-latin strings Reply with quote

i use eggdrop 1.6.19 with mysqltcl 3.05

Bot works nice, he can recognize russian and english letters, but i still have one problem..

I try to put some rus-lang string in database, f.e. "привет"

but i can see in phpmyadmin something like "ÌÀÃÈÍÀ"..

it was no problem, because when i did SELECT query with this string, i got original word - "привет".

Database (not -encode option in mysqltcl) encoding is UTF-8.

When i write "привет" in database through myadmin, and then SELECT this cell, i get only string with "?????"

Bot's encoding is not setted, same as mysqltcl -encoding option.

I tried to set them (both or only one of them) to utf-8, but i got another symbols of this string when looked at database's view in phpmyadmin.

i tested new database with cp1251 encoding, and it wont help.. I think its bot's problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber