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

	<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-12-23T17:41:23-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-12-23T17:41:23-04:00</updated>

		<published>2004-12-23T17:41:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44437#p44437</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44437#p44437"/>
		<title type="html"><![CDATA[parsing url strings]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44437#p44437"><![CDATA[
nvm and its not in uri as far as i can say for those who want it .. <br><div class="codebox"><p>Code: </p><pre><code>proc mapHex {pre} {  set i 0  while {$i &lt; 1} {    if {[regexp {(.*)%([0-9a-zA-Z]{2})(.*)} $pre str pre hex end]} {      if {[info exists r]} {        set r [format %c 0x${hex}]$end$r      } else {        set r [format %c 0x${hex}]$end      }    } else {      if {[info exists r]} {        return "${pre}${r}"      } else {      return $pre      }    }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Dec 23, 2004 5:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-23T12:54:40-04:00</updated>

		<published>2004-12-23T12:54:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44412#p44412</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44412#p44412"/>
		<title type="html"><![CDATA[parsing url strings]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44412#p44412"><![CDATA[
"resolve it"? what do you mean? and what are you actually trying to accomplish?<br><br>you might wish to check Tcllib's package uri<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Dec 23, 2004 12:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-12-22T16:35:38-04:00</updated>

		<published>2004-12-22T16:35:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44389#p44389</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44389#p44389"/>
		<title type="html"><![CDATA[parsing url strings]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44389#p44389"><![CDATA[
as you know all weird chars will be formated to hex using % as a hex symbol, i am trying to parse data from for example %3A to \x3A and resolve it without saving it into \x3A<br><div class="codebox"><p>Code: </p><pre><code>foreach {x} [split [lindex [split $url \x3F] 1] \x26] {     if {[regexp {^(.+?)\x3D(.*)$} $x str name value]} {    set _GET([join [string map {\x2B \x20 \x25 \\x} $name]]) [join [string map {\x2B \x20 \x25 \\x} $value]]  }}</code></pre></div>now i need to join in order to resolve it..  also in some cases it gives a weird result for example when using '=' and right after it  a 'd' don't know why '=d'<br>out puts a weird result (greek beta letter) .. instead of =d<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Dec 22, 2004 4:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
