Forum OpenACS Development: Re: Using noquote with ad_form and formtemplate

Collapse
Posted by Branimir Dolicki on
You probably ended up having things like '管' in your
database.  That can happen if your server doesn't send forms
with Content-Type=text/html; charset=utf-8.  When this heppens
the default is iso-8859-1.  If user types characters that
can't be represented in iso-8859-1, browsers (MSIE, but also
Mozilla) do something very, very stupid.  They convert the
characters to things like '管' and send them with
the form so they finally end up in your database.