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.

question about enconding

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

question about enconding

Post by ultralord »

Hello i make one script and i read some infos from my site from mysql and when the eggdrop output the results i have problem with greek chars

[13:20:01] <@bot> «« Latest Article on Site : Title: Soon.. ???? Server.. Link: http://..... Check it.. »»

the ???? is greek word on my mysql ..does anyone know how i can fix it to output the greek word ?
Image
You need a iRC bot for your CS Gameserver? Rent one here
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Post by ultralord »

someone? :D
Image
You need a iRC bot for your CS Gameserver? Rent one here
J
Johannes13
Halfop
Posts: 46
Joined: Sun Oct 10, 2010 11:38 am

Post by Johannes13 »

You could try to use [encoding convertto utf-8 $str] to send the bytes as utf-8 to the server. If your channel uses an other encoding, use that instead of utf-8
Post Reply