Extjs4 Sending accented characters to the server

2019-08-30 23:50发布

问题:

I am working with Extjs4. I am trying to send accented characters to server. I was trying to send ó. And what I was receiving at the server side was ó. I am sending it using Store proxy. In store proxy, I have added

headers: {
                          'Content-Type': 'charset=utf-8'
         }

Still it did not send the accented characters properly. How should I send accented characters to the server? Thanks in advance!

回答1:

user2316489, IMHO this is a problem with your server configuration, rather than a front-end application. Check how to change your server charset.