[thelist] acsii return from form field
kris burford
kris at midtempo.net
Tue Mar 16 07:36:58 CST 2004
>>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).
yep. this i know. i'm trying to tidy up the inputted text from a form (in
particular, one where people submit stories that are most likely first
written in Word).
>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."
good article. thanks for the heads-up.
>>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 "?".
nope. i've been checking the output *prior* to pushing it through *any*
post management functions, and any character outside the standard html
entity chart is being returned as a question mark.
kris
More information about the thelist
mailing list