<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/18" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2001-11-08T12:49:00-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/18</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-11-08T12:49:00-04:00</updated>

		<published>2001-11-08T12:49:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1506#p1506</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1506#p1506"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1506#p1506"><![CDATA[
Hi,<br>being the author of CHATstats, I'm interested in knowing where exactly the problem can be within the script, from a theoretical point of view.<br><br>There's no encoding transformation/converting in the script. For channel names or nick names, whatever strange characters they contain, the script just takes the characters, does some list and/or string processing and outputs them. Where could be the point where the script messes up?<br>The problem is, even a simple one-line-script (bound to join or whatever) like <br><br>if {[onchan $channel $nick]} {do_this}<br><br>would mess up if the nick contained strange characters.<br><br>So I'd like to know what I can include as a workaround. Any ideas ?<br><br>Thnx in advance,<br><br>Baerchen<p>Statistics: Posted by Guest — Thu Nov 08, 2001 12:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-09-30T22:12:00-04:00</updated>

		<published>2001-09-30T22:12:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=166#p166</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=166#p166"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=166#p166"><![CDATA[
Well, I don't know about problems with the character in the #channel, but I use this quite often in 1.6.5:<br><br>if {[info commands realputserv] == ""} {<br>  rename putserv realputserv<br>  proc putserv { thestring } {<br>    realputserv [encoding convertfrom identity $thestring]<br>  }<br>}<br>if {[info commands realputdcc] == ""} {<br>  rename putdcc realputdcc<br>  proc putdcc { idx thestring } {<br>    realputdcc $idx [encoding convertfrom identity $thestring]<br>  }<br>}<br><br>- does anyone know if stdarg's patch will fix my need to have to use this snippet of code anymore?<br><br>Thanks,<br><br> Raven.<p>Statistics: Posted by Guest — Sun Sep 30, 2001 10:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-09-29T09:48:00-04:00</updated>

		<published>2001-09-29T09:48:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=130#p130</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=130#p130"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=130#p130"><![CDATA[
Yeah.. the bot has no trouble with joining the channel, but when its supposed to run tcl scripts in this channel, it goes bananas.. <p>Statistics: Posted by Guest — Sat Sep 29, 2001 9:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2001-09-28T21:33:00-04:00</updated>

		<published>2001-09-28T21:33:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=115#p115</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=115#p115"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=115#p115"><![CDATA[
Maybe the problem is with the script. It sounds like your bot is able to join the channel with the weird letter in it, so it must be handling the utf correctly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Sep 28, 2001 9:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stere0]]></name></author>
		<updated>2001-09-28T16:39:00-04:00</updated>

		<published>2001-09-28T16:39:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108#p108</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108#p108"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108#p108"><![CDATA[
i get and recompile my eggdrop with 1.6-current and everything is run perfectly with this case. thanks<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4">stere0</a> — Fri Sep 28, 2001 4:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-09-28T15:36:00-04:00</updated>

		<published>2001-09-28T15:36:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103#p103</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103#p103"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103#p103"><![CDATA[
I tried one more time, but the same result.. the eggdrop just tells me:<br><br>&lt;WebStats&gt; [18:42] TCL error [cs_update]: illegal channel: <br><br>And it cant parse the "ø" characters..<br>(This is just one of many scripts i have tried. This is the Chatstats 2.11 by Baerchen btw..<br><br><p>Statistics: Posted by Guest — Fri Sep 28, 2001 3:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-09-28T14:59:00-04:00</updated>

		<published>2001-09-28T14:59:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100#p100</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100#p100"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100#p100"><![CDATA[
Well.. i have tried to run several htmlstats tcl-scripts, but one of my #channels is contains two "ø"'s in the name, and this kills the bot compleatly. Have tried the 1.6current version as well, but with no luck.. its a little sad, cause when i finaly got to buy myself a .nu domain, that supports "ø" (or other high bit characters), i still cant get irc stats for my webpage... :-/<p>Statistics: Posted by Guest — Fri Sep 28, 2001 2:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2001-09-28T13:36:00-04:00</updated>

		<published>2001-09-28T13:36:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98#p98</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98#p98"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98#p98"><![CDATA[
Heh, I just tried to apply the patch to 1.6.6 and you're right, it doesn't work.<br><br>But I downloaded eggdrop1.6-current.tar.gz and the patch is already applied in there, so that should be all you need.<br><br>What errors did you run into with eggdrop1.6-current?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Sep 28, 2001 1:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-09-28T04:24:00-04:00</updated>

		<published>2001-09-28T04:24:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93#p93</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93#p93"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93#p93"><![CDATA[
Hi again. Im using the same version as you.<br><br>[sendron@localhost sendron]$ patch --version<br>patch 2.5.4<br>Copyright 1984-1988 Larry Wall<br>Copyright 1989-1999 Free Software Foundation, Inc.<br><p>Statistics: Posted by Guest — Fri Sep 28, 2001 4:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2001-09-27T21:09:00-04:00</updated>

		<published>2001-09-27T21:09:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84#p84</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84#p84"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84#p84"><![CDATA[
Maybe you have an incompatible version of patch. It was created with:<br><br>diff - GNU diffutils version 2.7<br><br>And it applies correctly with my:<br><br>patch 2.5.4<br><br>Try checking the manual page for patch ("man patch") and look for an argument you can pass to make it compatible with gnu patch, or try a context patch or something.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu Sep 27, 2001 9:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-09-27T20:47:00-04:00</updated>

		<published>2001-09-27T20:47:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83#p83</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83#p83"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83#p83"><![CDATA[
Yes, its in the right dir, check it out:<br><br><a href="http://www.project-starlight.com/shell.gif" class="postlink">http://www.project-starlight.com/shell.gif</a><br><br>More clues?<p>Statistics: Posted by Guest — Thu Sep 27, 2001 8:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-09-27T19:54:00-04:00</updated>

		<published>2001-09-27T19:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81#p81</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81#p81"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81#p81"><![CDATA[
This sounds like you are patching from the incorect DIR.<br><br><em class="text-italics">Download eggdrop1.6.6.tar.gz</em><br>tar -zxf eggdrop1.6.6.tar.gz<br>cd eggdrop1.6.6<br><em class="text-italics">download patch</em><br>patch -p1 &lt; patch.filename<br><em class="text-italics">compile and make as normal</em><br><br>It sounds liek you didn't have the patch file in the right dir.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Sep 27, 2001 7:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-09-27T19:22:00-04:00</updated>

		<published>2001-09-27T19:22:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80#p80</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80#p80"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80#p80"><![CDATA[
Oki.. here goes... <br>I unrared the eggdrop1.6.6, downloaded the patch to the same dir. Runned the patch, and this is the result:<br><br>patch -p1 &lt; utf_solution2.patch<br><br>patching file src/botmsg.c<br>Hunk #1 FAILED at 55.<br>1 out of 1 hunk FAILED -- saving rejects to file src/botmsg.c.rej<br>missing header for unified diff at line 15 of patch<br>can't find file to patch at input line 15<br>Perhaps you used the wrong -p or --strip option?<br>The text leading up to this was:<br>--------------------------<br>|   for (i = 0; i &lt; dcc_total; i++)<br>--------------------------<br>File to patch:<br><br><br>Any ideas?<br><p>Statistics: Posted by Guest — Thu Sep 27, 2001 7:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-09-27T15:50:00-04:00</updated>

		<published>2001-09-27T15:50:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72#p72</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72#p72"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72#p72"><![CDATA[
Well at the time i have a hard time accessing your patch at : <a href="http://home.dal.net/stdragon/eggdrop/utf_solution2.patch" class="postlink">http://home.dal.net/stdragon/eggdrop/ut ... ion2.patch</a><br><br>Is this the right adresss?<p>Statistics: Posted by Guest — Thu Sep 27, 2001 3:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-09-27T11:58:00-04:00</updated>

		<published>2001-09-27T11:58:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67#p67</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67#p67"/>
		<title type="html"><![CDATA[High bit characters in Tcl & eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67#p67"><![CDATA[
I know that i dont have to patch the 1.6-current.tar.gz, so i didnt try to patch it either, but it still didnt work.<br><br>Im going to try out this patch and eggdrop1.6.6 now. Will post my errors, if some, after that. Thx so far. <br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by Guest — Thu Sep 27, 2001 11:58 am</p><hr />
]]></content>
	</entry>
	</feed>
