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 

encoding problems

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
rix
Halfop


Joined: 21 Sep 2005
Posts: 42
Location: Estonia

PostPosted: Mon Sep 18, 2006 1:55 pm    Post subject: encoding problems Reply with quote

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? Smile
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Tue Sep 19, 2006 6:16 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop 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