在 Internet Explorer (IE) 中,URL 带有特殊字符的查询字符串问题

In Internet Explorer (IE) , URL Querystring issue with special character

INTERNET EXPLORER 浏览器中的特殊字符存在问题。

它在 Google Chrome 和 Firefox 中工作正常,但在 Internet Explorer.

中有问题

我从 Slovensko 语言中得到了单词 višina,其中有特殊字符“š”。

URL 是 :http://localhost:53509/posode-za-vino?ra_Skupna višina Z mm_146=1621.3-5500

在 Firefox 中:ra_Skupna višina Z mm_146 这太完美了。

Check snap here

但是当我使用 Internet Explorer 检查时, 查询字符串看起来像:ra_Skupna vi�ina Z mm_146

check snap here

这里特殊字符š被替换为.

这在 Chrome 和 Firefox 中运行良好。

如果有人知道 Internet Exploer 的这个问题,请告诉我

我用编码参数修复了。 首先编码值然后传入 URL 作为参数。 所以它作为查询字符串以编码格式读取数据。