开发者

Working with UTF-8 instead of windows-1255

In the past, I used to work with windows-1255. Now my new page is written in UTF-8. When I send a query to DB (MS-Access), I get no results. The query on the URL shows the same like开发者_StackOverflow I type in by myself, but in this case (typing) I get results. How can it happen that I see the same URL on my IE and get the results and the other (that come from UTF-8) get no data?


If you're using IE, try right-clicking in the page and checking the Encoding in both cases. Sometimes IE "auto detects" the encoding incorrectly, so any non-Ascii characters may be sent to the server encoded in a different way to how the server is decoding. Fiddler may be useful in comparing what's being sent back and forth in both cases.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜