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.

Problems with nordic characters when upgrading Eggdrop.

General support and discussion of Eggdrop bots.
Post Reply
A
Alpha
Voice
Posts: 15
Joined: Sat Nov 27, 2004 12:27 am
Location: Tromsø, Norway
Contact:

Problems with nordic characters when upgrading Eggdrop.

Post by Alpha »

Hi!


Just recently upgraded some of my bots in the botnet to 1.6.17 and because of the halfop/leaf-"bug" I decided to upgrade all of them. One didn't behave as I had hoped with problems regarding the special nordic characters. An ø is replaced with "Ã," (Including the comma(!!)) for instance.

Tried setting "encoding system iso8859-1" in the configfile but no luck.

uname -a dumps out: "Linux <removed> 2.6.10-2.3.legacy_FC2 #1 Sat Feb 18 21:55:30 EST 2006 i686 i686 i386 GNU/Linux". Fedora Core 2 I guess..

Yeah, and the nordic characters work in other applications like joe, and also at the command prompt.

Any ideas?
A
Alpha
Voice
Posts: 15
Joined: Sat Nov 27, 2004 12:27 am
Location: Tromsø, Norway
Contact:

Post by Alpha »

*bump*
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

eggdrop already uses iso-8859-1 as encoding system.
"Ã," looks like an utf-8 character displayed as iso-8859-1 string. check your editor/files for beeing actually iso-8859-1 or convert them all to utf-8 and change eggdrop totally to utf-8.
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...
A
Alpha
Voice
Posts: 15
Joined: Sat Nov 27, 2004 12:27 am
Location: Tromsø, Norway
Contact:

Post by Alpha »

Guess the problem is related to serverwide settings then. How do I set the encoding system?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

as mentioned before, its set by eggdrop, so I suppose its in the eggdrop source. If it didnt, TCL would use utf-16 ^-^.
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...
A
Alpha
Voice
Posts: 15
Joined: Sat Nov 27, 2004 12:27 am
Location: Tromsø, Norway
Contact:

Post by Alpha »

I've kinda fixed it.. Changed nothing from my original setup, but installed an older version of TCL (8.3.0) and recompiled the eggdrop. Voilà! Everything regarding the special norwegian characters worked.

Only problem now is that I get the following error from one of my scripts: "Cant' find package http"... Any ideas about that one?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

package http is missing... :D. You will have to find one that works with tcl 8.3.
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