Extjs4向服务器发送重音字符 [英] Extjs4 Sending accented characters to the server

查看:212
本文介绍了Extjs4向服务器发送重音字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Extjs4。我正在尝试将重音字符发送到服务器。我试图发送ó。我在服务器端收到的是ó。我使用商店代理发送它。在商店代理中,我添加了

 标头:{
'Content-Type':'charset = utf-8 '
}

仍然没有正确发送重音字符。如何发送重音字符到服务器?感谢提前!

解决方案

user2316489,IMHO这是您的服务器配置的问题,而不是前端应用程序。 检查如何更改服务器字符集。 a>


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!

解决方案

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

这篇关于Extjs4向服务器发送重音字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆