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.

encoding problems

General support and discussion of Eggdrop bots.
Post Reply
r
rix
Halfop
Posts: 42
Joined: Wed Sep 21, 2005 1:04 pm
Location: Estonia

encoding problems

Post by rix »

I used the search but didn't find anything helpful.

So, Eggdrop doesn't display estonian characters like 'õäöü' correctly. I tryed specifying IBM PC (OEM) codes in config file (cp850, 858, 437), but nothing worked. Server administrator isn't going to change server's encoding, so i have to do it in eggdrop.

Can anyone help? :)
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

have you searched for "iso8859-1" in src/tcl.c and looked around a bit? It shows which encoding the TCL subsystem will be using.
It seems to look for the encoding in the enviroments vars LC_ALL, LC_CTYPE and LANG. You should be able to set them using local or export (add to .bash_profile or similar) or change the hardcoded fallback in the source code.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Post Reply