FoxWeb simply URLDecodes whatever is sent to it by the server, which passwe through (at least it should) whatever is sent by the browser. Have you tried using a different browser? Is the form accessible over the Internet, so that we could test it?
Sent by Alan Harris-Reid on 03/29/2003 01:53:23 AM:
Further information on this subject...
I have placed an 'error trip' in my script and in the 'Post Data' tabbed page in the Foxweb Control Center I can see that spaces are displayed as follows,
IF A0 refers to a hexadecimal this confirms that CHR(160) is being inserted. I have also discovered from another source that CHR(160) refers to a character.
Message to Foxweb support - is there any way that Request.form('myField') can return spaces as the correct value of CHR(32) instead of CHR(160). It's a pain to have to do a STRTRAN() on every posted string before I can process it in Foxpro!
Here's another reply I received on the subject from another forum.
"If that character is in there, it's because it's coming down that way from the browser. The easiest way to check this is to look at the incoming request data and see if there's special entity markup applied to spaces. Typically spaces should be marked up with + signs."
Any further help would be appreciated.