Forum Moderators: open
If there is a curly apostrophe in one of the fields and the form is submitted the 1st field is left empty.
This is in my head
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
If I remove it the problem seems to go away.
Also, i can leave that in and add a hidden input with a dummy value and it seems to make the rest of the form work, it just attacks the 1st field. very wierd.
any ideas comments?
Character encoding, entity references and UTF-8 [webmasterworld.com]
These are most likely "smart quotes" from MS word or something that are above the standard ASCCI set. I'd strip them out, or substitute them for html entities, (") but many seem to like to keep them in. In this case you'll need to change your table collation to support them.
from this i learned that im just going to use utf-8 for now on and not ISO-8859-1. from what ive read utf-8 is more universal than ISO-8859-1 and i dont see much reason to use ISO-8859-1.