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

	<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-08-12T21:02:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-08-12T21:02:54-04:00</updated>

		<published>2004-08-12T21:02:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39730#p39730</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39730#p39730"/>
		<title type="html"><![CDATA[Swedish characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39730#p39730"><![CDATA[
if Alchera's fix didnt work, try using 'encoding' <br><div class="codebox"><p>Code: </p><pre><code>set bleh [encoding convertfrom identity $bleh]</code></pre></div>... you get the idea..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Thu Aug 12, 2004 9:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-12T20:35:20-04:00</updated>

		<published>2004-08-12T20:35:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39728#p39728</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39728#p39728"/>
		<title type="html"><![CDATA[Swedish characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39728#p39728"><![CDATA[
Take a look at this post.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br><a href="http://forum.egghelp.org/viewtopic.php?t=7348&amp;highlight=ascii" class="postlink">*ASCII Codes*</a><br><br>You might need to convert them into hexadecimals first and then try to match them.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>Plus, try using 'string match', or 'string equal' that is more appropriate than using the '==' comparator.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><br><br>Something like this should do it:<br><div class="codebox"><p>Code: </p><pre><code>if {([string equal "mjölk" $text])} {orif {([string equal "mj\xF6lk" $text])} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Aug 12, 2004 8:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-08-12T18:47:42-04:00</updated>

		<published>2004-08-12T18:47:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39723#p39723</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39723#p39723"/>
		<title type="html"><![CDATA[Swedish characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39723#p39723"><![CDATA[
Noticed something that might need fixing.<div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG $chan :\001ACTION hämtar en kopp kaffe med mjölk åt $nick\001" </code></pre></div>Shell character settings affect how the bot "sees" and displays special characters.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Thu Aug 12, 2004 6:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[netux]]></name></author>
		<updated>2004-08-12T17:43:51-04:00</updated>

		<published>2004-08-12T17:43:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39720#p39720</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39720#p39720"/>
		<title type="html"><![CDATA[Swedish characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39720#p39720"><![CDATA[
i think you need to split text firsts but i'm not shure just try it<div class="codebox"><p>Code: </p><pre><code>bind pub - !kaffe kaffe proc kaffe {nick host hand chan text} { set stext [split $text]if {$stext == "mjölk"} {                putserv "PRIVMSG $chan :\001ACTION hämtar en kopp kaffe med mjölk åt $nick"   } } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5272">netux</a> — Thu Aug 12, 2004 5:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-08-12T10:52:26-04:00</updated>

		<published>2004-08-12T10:52:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39716#p39716</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39716#p39716"/>
		<title type="html"><![CDATA[Swedish characters]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39716#p39716"><![CDATA[
I have a simple script:<div class="codebox"><p>Code: </p><pre><code>bind pub - !kaffe kaffeproc kaffe {nick host hand chan text} {if {$text == "mjölk"} {               putserv "PRIVMSG $chan :\001ACTION hämtar en kopp kaffe med mjölk åt $nick"  }}</code></pre></div>It works if I try to match it against something without scandinavian characters. But if I try to match it against scandinavian it doesent react, I'd guess that its because somewhere the scandinavian characters in $test gets translated into some code, and thats why it wont match.<br><br>Anybody have any idea on how to solve this?<p>Statistics: Posted by Guest — Thu Aug 12, 2004 10:52 am</p><hr />
]]></content>
	</entry>
	</feed>
