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 

Some characters aren't correctly handed by the eggdrop

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


Joined: 05 Jul 2006
Posts: 2

PostPosted: Wed Jul 05, 2006 4:36 pm    Post subject: Some characters aren't correctly handed by the eggdrop Reply with quote

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:
.tcl putlog "#blablaѥ"

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


Code:
.msg KnuX "#blablaѥ"

Quote:
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... Wink
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Thu Jul 06, 2006 12:53 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
KnuX
Voice


Joined: 05 Jul 2006
Posts: 2

PostPosted: Thu Jul 06, 2006 3:23 am    Post subject: Reply with quote

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

I don't understand your reply, sorry but thanks you Wink
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Thu Jul 06, 2006 7:26 am    Post subject: Reply with quote

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...
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