[thelist] acsii return from form field

Edwin Martin edwin at bitstorm.org
Tue Mar 16 07:14:57 CST 2004


kris burford wrote:

> so, if someone pastes a word document with "smart" quotes into the form, 
> all the quotes reach the server as "?"
> 
> this is don't understand.

Smart quotes are a Microsoft thing. It's not a standard (not 
even a recommendation).

Read all about it here: http://www.alistapart.com/articles/emen/
(Scroll down to "Don’t Misquote Me").

Quote:
"Do not, under any circumstances, use “ through • 
for curly quotes."

> i've tried altering the charset (from iso-8859-1 to UTF-8), the form 
> enctype and have trawled through the apache docs, all to no avail.
> 
> can anyone shed some light as to why anything that falls within the 
> ascii range 127 - 160 is automatically tranformed to ? ??

The non-standard codes are probably send over but ord() sees 
they're not standard and returns "?".

Edwin Martin

-- 
http://www.bitstorm.org/


More information about the thelist mailing list