View Single Post
  #7   Report Post  
Posted to comp.lang.java.programmer,microsoft.public.excel.programming
chris[_13_] chris[_13_] is offline
external usenet poster
 
Posts: 1
Default How to URL-ize a string

Robin Hammond wrote:

Thanks for the constructive comment. They work absolutely fine for me
using MSXML2.XMLHTTP40.


Whatever that is. They sure aren't valid HTTP; see RFC 2396, section
2.4.3. (RFC 2616, HTTP/1.1, refers to RFC 2396 for the format of a URI).

Robin Hammond
www.enhanceddatasystems.com

"Joona I Palaste" wrote in message
...
Robin Hammond scribbled the following:
Bura,


The spaces should be fine in a Get or Post statement, but you have to

watch
out for ampersands and question marks, which precede each parameter
statement. The way I do this is to replace these characters with

something
obscure and then Post to an asp page that replaces the obscure

characters
with the originals before it does anything else.


Spaces are *not* fine in a GET or POST statement. They should be
encoded as + or %20.

--
/-- Joona Palaste ) ------------- Finland
--------\ \-- http://www.helsinki.fi/~palaste ---------------------
rules! --------/ "It sure is cool having money and chicks."
- Beavis and Butt-head


--
Chris Gray
/k/ Embedded Java Solutions