Hi Ralph:
I haven't been following this thread, but was this
problem associated with pathinfo or by a post/get method?
When it comes to pathinfo: ex:
http://www.mydomain/cgi-bin/mine.cgi/arg1/arg2
If I anticipate spaces or non-english characters, I
convert the path parts to string representations of their
hexidecimal equivalent. 'a' (ascii 65 Or is it 91?, I forget)
becomes '41', and so one. Of course it doubles the path length.
One method...
Tim
At 07:50 PM 7/8/00 -0400, you wrote:
>For those keeping score at home, I was bumfuzzled by the fact that I could
>not pass CGI data (constructed in REBOL) to Netscape, but it worked fine on
>Explorer.
>
>While I hate to be nice to Bill Gates, Explorer DOES handle passed data MUCH
>easier and MUCH less finickily than Netscape.
>
>Okay, the problem was simple (as most are when you get right down to it).
>Explorer automatically converts spaces into an %20 character (escapes them)
>whereas Netscape doesn't and is, thus, confused when it gets some CGI data
>with spaces in it.
>
>There are other ways to solve this (in my humble opinion) deficiency in at
>least early Netscape (4.03 is the latest I have or want<g>, I just use it to
>make sure stuff works in both flavor browsers). One way is the following
>little REBOL function:
>
>cgi-escape: func [cgi][
> parse cgi [some [to " " (find replace cgi " " "%20")] to end]
> ]
>
>That got my order forms working, but I still need to handle other characters
>such as '&'.
>
>Ah, the adventure of it all.
>
>--Ralph Roberts
>
>
>