On Wed, 26 Nov 2003, Tod Harter wrote:

> Well, try this, paste data from a MS Word document into a text area and submit 
> it. Make sure you have some nice apostrophe's or some non-english characters 
> in there. UTF-8 away! I guarantee you it will be corrupt. I never tracked 
> down why exactly, but the notion that browsers always submit form data 
> properly SEEMS to be untrue. 
> 
> Specifically as near as I got to figuring out the problem the page was served 
> up as ISO-8859-1. The text pasted into the textarea was UTF-8 (though there 
> is no way to determine what the clipboard might have done to the encoding). 
> The result was gobbledygook. That is to say the browser submitted a response 
> which it claimed was coded with the ISO-8859-1 character set. Everything in 
> the textarea HAD an ISO-8859-1 representation. The data in that textarea sure 
> wasn't ISO-8859-1 when it got to the server!

Okay, so definitely fix your encoding. Make sure it's declared in the http
headers as being utf-8. I'm surprised AxKit isn't doing this for you; I've
been out of the loop for a while.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to