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.

Some characters aren't correctly handed by the eggdrop

General support and discussion of Eggdrop bots.
Post Reply
K
KnuX
Voice
Posts: 2
Joined: Wed Jul 05, 2006 4:18 pm

Some characters aren't correctly handed by the eggdrop

Post by KnuX »

Hi all,

I have an eggdrop with the following caracteristics :
- eggdrop v1.6.17: 50 users (mem: 1958k).
- OS: FreeBSD 6.1-PRERELEASE
- Tcl librairies: /usr/local/lib/tcl8.4
- Tcl version: 8.4.11 (header version 8.4.7)

I notice that it replaces 2 caractères to an other one, as these examples show us :

Code: Select all

.tcl putlog "#blablaѥ"
tcl: builtin dcc call: *dcc:tcl KnuX 39 putlog "#blablae"
tcl: evaluate (.tcl): putlog "#blablae"
#blablae

Code: Select all

.msg KnuX "#blablaѥ"
tcl: builtin dcc call: *dcc:msg KnuX 39 KnuX "#blablae"
#KnuX# msg KnuX "#blablae"
[!h] PRIVMSG KnuX :"#blablae"
I am wondering about the reasons of this phenomenon. In this case, if an IRC message contains the "Ñ¥" characters, eggdrop will think it's a 'e' and in fact, its ambiguous.

For example, for the eggdrop, the "#Ñ¥" channel will be the same as the "#e" channel...

I know that "Ñ¥" isn't used everyday, but I am disturbed by this behaviour.

If anyone can help me to understand... ;)
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

the bot's environment most likely defaults to ISO-8859-1 encoding for text, eggdrop may use those characters if you change that (and possibly recompile after changing default language)
K
KnuX
Voice
Posts: 2
Joined: Wed Jul 05, 2006 4:18 pm

Post by KnuX »

What can I do if I want the eggdrop to distinguish "Ñ¥" and 'e' ?

I don't understand your reply, sorry but thanks you ;)
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

what hex codes are these? Are they D1A5?
I have seen similar problems involving non-alphamumeric iso-8859-1 bytes. No idea why it transforms them since eggdrop is supposed to do no encode changing.
Only thing I can say is that it happens same for ^-^.

.tcl putdcc 15 ѥ
[13:06:59] tcl: builtin dcc call: *dcc:tcl De_Kus 15 putdcc 15 e
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