【发布时间】:2010-12-15 03:32:05
【问题描述】:
Unicode 字符(泰语)是否有任何 JQuery 自动完成功能。 我已经有了this 和我的asp.net 代码
protected void Page_Load(object sender, EventArgs e)
{
var q = Server.UrlEncode(Request.QueryString["q"]);
Response.Write(q);
}
网址是http://localhost:2286/customerauto.aspx?q=%E0%B8%93 这样的。
我得到了 q="%e0%b8%93"; 实际上正确的值是 ณ 。
所以我不知道是客户端编码错误还是服务器端编码错误?
请帮帮我
【问题讨论】:
-
不,正确的URL值其实是
q="%e0%b8%93";,因为ณ需要是URL encoded。 -
@Matt Ball 那么如何从“%e0%b8%93”更改为ณ?
-
您是否正在使用 Internet Explorer 进行测试?如果是这样,请阅读this question
-
...否则,请阅读this question。
标签: asp.net unicode urlencode jquery-autocomplete