[thelist] acsii return from form field

kris burford kris at midtempo.net
Tue Mar 16 04:07:02 CST 2004


hi,

posted yesterday asking about why my ord() function (php) wasn't working. 
basically non-standard characters were being returned as question marks. 
subsequently i've found that the non-standard characters are being sent to 
the server from the form (as far as i can tell) as ? and, therefore the ord 
function is working correctly.

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.

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 ? ??

thanks

kris



More information about the thelist mailing list