This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

mysql - encoding problem with non-latin strings

Help for those learning Tcl or writing their own scripts.
Post Reply
F
FallFromGrace
Voice
Posts: 17
Joined: Mon Jul 28, 2008 8:52 am

mysql - encoding problem with non-latin strings

Post by FallFromGrace »

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.
Post Reply