Why does POST not honor charset, but an AJAX request does? tomcat 6

后端 未结 5 795
攒了一身酷
攒了一身酷 2020-12-05 07:29

I have a tomcat based application that needs to submit a form capable of handling utf-8 characters. When submitted via ajax, the data is returned correctly from getParameter

5条回答
  •  失恋的感觉
    2020-12-05 07:46

    I implemented a filter based on the information in this post and it is now working. However, this still doesn't explain why even though the page was UTF-8, the charset used by tomcat to interpret it was ISO-9951-1.

提交回复
热议问题