为什么Internet Explorer不对网址进行网址编码?

问题描述:

我按如下方式启动IE(第7版):

I launch the IE (7th version) as follows:

"C:\Program Files\Internet Explorer\iexplore.exe" "http://somewhere.com/q=фыва"

除了将фыва"部分替换为"????"之外在cmd中.

except that "фыва" part is replaced by "????" in cmd.

启动IE时,它会在地址栏中显示预期的url,但是如果我查看实际流量,则会发送????(3f3f3f3f).我希望它可以对它进行url编码(实际上,它确实将确实 url编码为%20").

When IE boots up, it displays the expected url in address bar, but if I take a look at the actual traffic, ???? is sent (3f3f3f3f). I expected it to url-encode it (and actually, it does url-encode spaces to "%20").

有没有办法使它向服务器发送正确的数据?

Is there a way to make it send the proper data to server?

URL中禁止使用Unicode字符

Unicode characters are forbidden in urls see

URL中的Unicode字符

%将Unicode字符自己编码为- http://somewhere.com/q=%D1%84%D1%8B%D0%B2%D0%B0

% encode the unicode chars yourself to - http://somewhere.com/q=%D1%84%D1%8B%D0%B2%D0%B0

它可能会将其删除为功能