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

	<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-05-14T10:27:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Kripton]]></name></author>
		<updated>2004-05-14T10:27:34-04:00</updated>

		<published>2004-05-14T10:27:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36335#p36335</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36335#p36335"/>
		<title type="html"><![CDATA[Converting URL-Codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36335#p36335"><![CDATA[
Ok, sounds better! Thanx!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4364">Kripton</a> — Fri May 14, 2004 10:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2004-05-14T06:49:55-04:00</updated>

		<published>2004-05-14T06:49:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36329#p36329</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36329#p36329"/>
		<title type="html"><![CDATA[Converting URL-Codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36329#p36329"><![CDATA[
Alternatly, use some proper code to do it. They will only convert the specific chars you tell it to, this function/procedure will convert all the required stuff in the text.<br><div class="codebox"><p>Code: </p><pre><code>proc ::ncgi::decode {str} {    # rewrite "+" back to space    # protect \ from quoting another '\'    set str [string map [list + { } "\\" "\\\\"] $str]    # prepare to process all %-escapes    regsub -all -- {%([A-Fa-f0-9][A-Fa-f0-9])} $str {\\u00\1} str    # process \u unicode mapped chars    return [subst -novar -nocommand $str]}</code></pre></div>This was taken from the ncgi library available with tcllib.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri May 14, 2004 6:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kripton]]></name></author>
		<updated>2004-05-13T13:05:02-04:00</updated>

		<published>2004-05-13T13:05:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36315#p36315</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36315#p36315"/>
		<title type="html"><![CDATA[Converting URL-Codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36315#p36315"><![CDATA[
yes, thank ya!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4364">Kripton</a> — Thu May 13, 2004 1:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-05-11T15:32:56-04:00</updated>

		<published>2004-05-11T15:32:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36285#p36285</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36285#p36285"/>
		<title type="html"><![CDATA[Re: Converting URL-Codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36285#p36285"><![CDATA[
<blockquote class="uncited"><div>Is there a fast and easy way to convert the URL-Codes (%20 = &lt;space&gt;) to a normal string?<br>Hello,%20my%20name%20is%20EggDrop  =&gt;  Hello, my name is EggDrop</div></blockquote>Sure, use <a href="http://tcl.activestate.com/man/tcl8.4/TclCmd/regsub.htm" class="postlink">regsub</a> or <a href="http://tcl.activestate.com/man/tcl8.4/TclCmd/string.htm#M34" class="postlink">string map</a>. <div class="codebox"><p>Code: </p><pre><code>% set string "Hello,%20my%20name%20is%20EggDrop"Hello,%20my%20name%20is%20EggDrop% regsub -all {%20} $string { } output4% puts $outputHello, my name is EggDrop% string map {"%20" " "} $stringHello, my name is EggDrop</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Tue May 11, 2004 3:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kripton]]></name></author>
		<updated>2004-05-11T14:45:06-04:00</updated>

		<published>2004-05-11T14:45:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36283#p36283</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36283#p36283"/>
		<title type="html"><![CDATA[Converting URL-Codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36283#p36283"><![CDATA[
Is there a fast and easy way to convert the URL-Codes (%20 = &lt;space&gt;) to a normal string?<br>Hello,%20my%20name%20is%20EggDrop  =&gt;  Hello, my name is EggDrop<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4364">Kripton</a> — Tue May 11, 2004 2:45 pm</p><hr />
]]></content>
	</entry>
	</feed>
