<?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/7776" />

	<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>2004-07-12T21:19:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[jones]]></name></author>
		<updated>2004-07-12T21:19:20-04:00</updated>

		<published>2004-07-12T21:19:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38508#p38508</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38508#p38508"/>
		<title type="html"><![CDATA[Problem correct!!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38508#p38508"><![CDATA[
I save the file .tcl how document unicode and after i save gain how normal document and this problem is resolved!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5118">jones</a> — Mon Jul 12, 2004 9:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-06-29T07:51:54-04:00</updated>

		<published>2004-06-29T07:51:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38016#p38016</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38016#p38016"/>
		<title type="html"><![CDATA[word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38016#p38016"><![CDATA[
Ok .. I downloaded your page and it dispays exactly as you intend it to.  To make sure, I uploaded it to one of my servers and it displays properly there also.  Click <a href="http://69.50.160.2/~Babe/test.html" class="postlink">here</a> to see it.<br><br>I made a minor change to the headers also:<div class="codebox"><p>Code: </p><pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;&lt;HTML&gt;&lt;HEAD&gt;&lt;META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"&gt;&lt;TITLE&gt;Votações do Conselho Geral da RedeBrasil. Nº 14 Autor: BadjuniOr&lt;/TITLE&gt;&lt;/HEAD&gt;</code></pre></div>Note where the DOCTYPE is located and also the position of the meta tag (not sure if that makes a difference being before or after the title).<br><br>As far as I can ascertain, your TCL script is doing exactly what it should be doing. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>**<strong class="text-strong">Edited</strong>**<blockquote class="uncited"><div>So one solution is to contact your shell admin and explain the problem and see what character set they have set, ISO-8859-1 for instance.</div></blockquote>My guess is that it's the web server and not your script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Jun 29, 2004 7:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jones]]></name></author>
		<updated>2004-06-29T00:12:03-04:00</updated>

		<published>2004-06-29T00:12:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38006#p38006</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38006#p38006"/>
		<title type="html"><![CDATA[word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38006#p38006"><![CDATA[
<blockquote class="uncited"><div>non-latin characters will appear different on different systems, depending on their locale and encoding settings, so you're best way to do this will be to replace any special characters with the corresponding html code<br><br>You can find a list of them here:<br><a href="http://www.draac.com/special.html" class="postlink">http://www.draac.com/special.html</a><br><br>If you find it tidious to replace those manually then something like this would do it for you...<br><div class="codebox"><p>Code: </p><pre><code>proc cleanup {str} { set str [string map {"ã" "ã"} $str] set str [string map {"Ã" "Ã"} $str]#....and so on.... return $str}</code></pre></div></div></blockquote>set str [encoding convertfrom identity $str]<br><br><br>This code is complete ?<br>how i do to active it´s in TCL?<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5118">jones</a> — Tue Jun 29, 2004 12:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jones]]></name></author>
		<updated>2004-06-29T00:08:51-04:00</updated>

		<published>2004-06-29T00:08:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38005#p38005</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38005#p38005"/>
		<title type="html"><![CDATA[word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38005#p38005"><![CDATA[
<blockquote class="uncited"><div>jones: Could you please paste your web site so I can see for myself the problem?</div></blockquote>Hello<br>The Page is:<br><a href="http://users.hotlink.com.br/badjr/eggdrop/vot-and-0014.html" class="postlink">http://users.hotlink.com.br/badjr/eggdr ... -0014.html</a><br><br>Language: Portuguese (Brazilian)<br>                Português (Brasil)<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5118">jones</a> — Tue Jun 29, 2004 12:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-06-28T20:30:19-04:00</updated>

		<published>2004-06-28T20:30:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38000#p38000</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38000#p38000"/>
		<title type="html"><![CDATA[word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38000#p38000"><![CDATA[
eggdrop does a terrible job with unicode, so I'd stay away from it if possible.<br>That said, you can convert "Ã£" back to "ã" with this code <br><div class="codebox"><p>Code: </p><pre><code>set str [encoding convertfrom identity $str]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Jun 28, 2004 8:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-06-28T20:21:07-04:00</updated>

		<published>2004-06-28T20:21:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37998#p37998</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37998#p37998"/>
		<title type="html"><![CDATA[word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37998#p37998"><![CDATA[
jones: I also need to know what language you're using. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Jun 28, 2004 8:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-06-28T19:55:25-04:00</updated>

		<published>2004-06-28T19:55:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37997#p37997</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37997#p37997"/>
		<title type="html"><![CDATA[word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37997#p37997"><![CDATA[
non-latin characters will appear different on different systems, depending on their locale and encoding settings, so you're best way to do this will be to replace any special characters with the corresponding html code<br><br>You can find a list of them here:<br><a href="http://www.draac.com/special.html" class="postlink">http://www.draac.com/special.html</a><br><br>If you find it tidious to replace those manually then something like this would do it for you...<br><div class="codebox"><p>Code: </p><pre><code>proc cleanup {str} { set str [string map {"ã" "ã"} $str] set str [string map {"Ã" "Ã"} $str]#....and so on.... return $str}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Jun 28, 2004 7:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-06-28T19:44:55-04:00</updated>

		<published>2004-06-28T19:44:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37996#p37996</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37996#p37996"/>
		<title type="html"><![CDATA[word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37996#p37996"><![CDATA[
jones: Could you please paste your web site so I can see for myself the problem?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Jun 28, 2004 7:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jones]]></name></author>
		<updated>2004-06-28T18:52:54-04:00</updated>

		<published>2004-06-28T18:52:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37995#p37995</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37995#p37995"/>
		<title type="html"><![CDATA[word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37995#p37995"><![CDATA[
<blockquote class="uncited"><div>I had a similar problem with TCL scripts in French on one particular shell after they upgraded to RH EL .. weird characters in the channel when using my French language bots and then all of a sudden it fixed itself.<br><br>So one solution is to contact your shell admin and explain the problem and see what character set they have set,  ISO-8859-1 for instance.  Normally Linux (and Windows Servers) install with everything properly set to handle the special characters but some times things to go awry and are unnoticed because English is never a problem.<br><br>Do you set a meta tag in your HTML with regard to character sets?<div class="codebox"><p>Code: </p><pre><code>&lt;META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"&gt;</code></pre></div>What I have previously posted will definitely solve your problem as long as you edit your TCL script (tedious as it may be) so that special characters are written to your HTML file and the page will display correctly for all to see.<br><br>As a side note, for cross browser compatibilty, the convention <em class="text-italics">is</em> to use those character codes in all HTML documents when using special characters.</div></blockquote>I DON´T BELIEVE!!!<br>this code not correct this problem!<br><br>*** Part of code in my TCL to make HTML:<br>inicio = begin of html<br>fim = end of html<br><br>proc addcode {arq type arg1} {<br>  global color background<br>  if {$type=="inicio"} {<br>    puts $arq "&lt;html&gt;"<br>    puts $arq " &lt;head&gt;"<br>    puts $arq "   &lt;title&gt;$arg1&lt;/title&gt;"<br>    puts $arq "&lt;META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"&gt;"<br>    puts $arq " &lt;/head&gt;"<br>    puts $arq "&lt;body bgcolor=$color(bgcolor) leftmargin="0" bgproperties="fixed" background=$background&gt;"<br>  }<br>  if {$type=="fim"} {<br>    puts $arq "&lt;/body&gt;"<br>    puts $arq "&lt;/html&gt;"<br>  }<br>  if {$type=="nenhuma"} {<br>    puts $arq "&lt;BR&gt;&lt;BR&gt;&lt;font size=4 face=verdana color=green&gt;&lt;b&gt;&lt;center&gt;Nenhuma votação disponível&lt;/center&gt;&lt;/font&gt;&lt;/b&gt;"<br>  }<br>}<br><br>it´s correct ok?<br>HELP-ME PLEASE!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5118">jones</a> — Mon Jun 28, 2004 6:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-06-27T19:03:29-04:00</updated>

		<published>2004-06-27T19:03:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37959#p37959</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37959#p37959"/>
		<title type="html"><![CDATA[word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37959#p37959"><![CDATA[
I had a similar problem with TCL scripts in French on one particular shell after they upgraded to RH EL .. weird characters in the channel when using my French language bots and then all of a sudden it fixed itself.<br><br>So one solution is to contact your shell admin and explain the problem and see what character set they have set,  ISO-8859-1 for instance.  Normally Linux (and Windows Servers) install with everything properly set to handle the special characters but some times things to go awry and are unnoticed because English is never a problem.<br><br>Do you set a meta tag in your HTML with regard to character sets?<div class="codebox"><p>Code: </p><pre><code>&lt;META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"&gt;</code></pre></div>What I have previously posted will definitely solve your problem as long as you edit your TCL script (tedious as it may be) so that special characters are written to your HTML file and the page will display correctly for all to see.<br><br>As a side note, for cross browser compatibilty, the convention <em class="text-italics">is</em> to use those character codes in all HTML documents when using special characters.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Jun 27, 2004 7:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jones]]></name></author>
		<updated>2004-06-26T11:09:23-04:00</updated>

		<published>2004-06-26T11:09:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37899#p37899</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37899#p37899"/>
		<title type="html"><![CDATA[word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37899#p37899"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>puts $arqvot "ã"</code></pre></div>Something like the above to have the special characters added to your HTML.  This <a href="http://www.draac.com/special.html" class="postlink">link</a> will give you a full list of the special characters and their respective codes. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>I´m have change all special characters (example: é ã ) in my tcl for this codes of the page <a href="http://www.draac.com/special.html" class="postlink">http://www.draac.com/special.html</a> ?<br><br>You have other thing to correct this problem? this change is very work!<br><br>*** INTERESTING: In my old server shell account this TCL it functioned normal but in my new server of shell account i´m have this problem!!! <br>* The only difference is that: In my old shell account is freebsd and i run my tcl in eggdrop1.1.5 and in my current shell account is linux and i run the tcl in eggdrop1.6.15. <br><br>* And that: i´m have to add new line configuration in eggdrop.conf for the bot run in eggdrop1.6.15 because in eggdrop1.1.5 have few lines connfiguration compared with eggdrop1.6.15.<br><br>I was clearly?<br>THIS DO SOMETHING DIFFERENCE ???<br><br>HELP-ME PLEASE!!! THANKS!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5118">jones</a> — Sat Jun 26, 2004 11:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-06-26T10:03:58-04:00</updated>

		<published>2004-06-26T10:03:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37897#p37897</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37897#p37897"/>
		<title type="html"><![CDATA[word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37897#p37897"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>puts $arqvot "ã"</code></pre></div>Something like the above to have the special characters added to your HTML.  This <a href="http://www.draac.com/special.html" class="postlink">link</a> will give you a full list of the special characters and their respective codes. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Jun 26, 2004 10:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jones]]></name></author>
		<updated>2004-06-26T01:38:59-04:00</updated>

		<published>2004-06-26T01:38:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37888#p37888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37888#p37888"/>
		<title type="html"><![CDATA[Re:word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37888#p37888"><![CDATA[
<blockquote class="uncited"><div>Are you sending these characters to an HTML page or retrieving them?<br><br>Sending them will require you to use the numeric code for them.  The above character is produced in HTML by using <div class="codebox"><p>Code: </p><pre><code>ã</code></pre></div> OR <div class="codebox"><p>Code: </p><pre><code>ã</code></pre></div> and you will have to write your TCL script accordingly. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote><br>my tcl code make a file.html<br>exemple of my tcl code:<br><br> puts $arqvot "&lt;table border=1 bgcolor=$color(voteinfo)&gt;&lt;tr&gt;&lt;td&gt;"<br>      puts $arqvot "&lt;table border=0 cellspacing=1&gt;"<br>      puts $arqvot "&lt;tr&gt;&lt;td&gt;&lt;strong&gt;&lt;font face="Verdana"&gt;&lt;small&gt;Titulo: &lt;td&gt;&lt;input name=titulo value="[aspas2apos $titulo]" size=55 onfocus="titulo.blur()"&gt;&lt;br&gt;"<br><br><br>HELP ME<br>PLEASE!!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5118">jones</a> — Sat Jun 26, 2004 1:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-06-25T11:43:49-04:00</updated>

		<published>2004-06-25T11:43:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37874#p37874</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37874#p37874"/>
		<title type="html"><![CDATA[Re:word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37874#p37874"><![CDATA[
Are you sending these characters to an HTML page or retrieving them?<br><br>Sending them will require you to use the numeric code for them.  The above character is produced in HTML by using <div class="codebox"><p>Code: </p><pre><code>ã</code></pre></div> OR <div class="codebox"><p>Code: </p><pre><code>ã</code></pre></div> and you will have to write your TCL script accordingly. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Fri Jun 25, 2004 11:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jones]]></name></author>
		<updated>2004-06-25T11:36:10-04:00</updated>

		<published>2004-06-25T11:36:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37873#p37873</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37873#p37873"/>
		<title type="html"><![CDATA[word: não stay this: nÃ£o (why???!?!?)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37873#p37873"><![CDATA[
<blockquote class="uncited"><div>What encoding are you using for the files ?</div></blockquote>Where I see what encoding i´m using?<br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5118">jones</a> — Fri Jun 25, 2004 11:36 am</p><hr />
]]></content>
	</entry>
	</feed>
