0

I'm running into a frustrating problem that arises when the browser "encoding" setting is forced into something other than "Auto-Detect." When my HTML form gets POSTed, characters such as "?" or "Â" are making their way into the database. Is there a good way to deal with this?

4

1 回答 1

0

似乎至少在某些浏览器上,accept-charset标签form中指定了表单数据的编码,其方式不受用户可能对设置所做的事情的影响。这听起来很合理。表单数据编码可能与页面的编码不同,属性就是为此而存在的。

于 2012-04-09T21:39:23.667 回答