开发者

jquery post work with hebrew (unicode) but not with spaces, get not working with hebrew but does spaces

i have tried load an开发者_如何学God hebrew didn't work for me so i changed my code to

    $.ajax({
        type: "post",
        url: "process-tb.asp",
        data: data,
        success: function(msg)

(partial code)

not knowing that post and get is the problem for my hebrew querystring. so know i can get my page to get the hebrew and english but no spaces are add to the text.

all pages are encoded to utf-8.

what is wrong with it?


i have fixed that with replacing spaces - so hebrew works with post and spaces are replaced

data = data.replace(/\s/g, "%20");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜