--- Toby Rush <[EMAIL PROTECTED]> wrote:
> Is this a flaw in decodeURLComponent, or am I using
> it incorrectly?

  What if you tried ConvertURLString in the RB
examples: REAL Software\REALbasic
2006r4\Examples\Networking\Example Web Server

Also here is the code:

Protected Function ConvertURLString(url as string) As
string
  dim x as integer
  dim temp,encStr as string
  
  // covert out hex values from the url string
  temp = url
  do
    x = instr( temp, "%" )// hex values start with '%'
    if x = 0 then// no encoding found
      exit
    end
    
    encStr = mid( temp, x+1, 2 )
    encStr = chr( val( "&h" + encStr ) )
    
    temp = left( temp, x - 1 ) + encStr + mid( temp, x
+ 3 )
  loop
  
  return temp
End Function

I would be interested to hear if this works for you.

Jay

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to