开发者

jquery autocomplete IE6 ascii issue

开发者 https://www.devze.com 2023-01-29 00:43 出处:网络
I am using jquery autocomplete version 1.1. It works perfectly in all browsers except IE6. In IE6 it returns ascii codes starting with a question mark in the autocomplete dropdown. The code works perf

I am using jquery autocomplete version 1.1. It works perfectly in all browsers except IE6. In IE6 it returns ascii codes starting with a question mark in the autocomplete dropdown. The code works perfectly 开发者_如何学Pythonon my local mahcine when im debugging in IE6. However when it is hosted it behaves errorneously.

Any suggestions please !


Are you explicitly setting your character encoding with a meta tag in the page headers? Does the encoding on the page match the encoding of your data source for auto-complete (assuming it has one)?

I'd try setting everything you can possibly think of to an explicit charset and see if it helps. You can also add the accept-charset attribute to the form element itself (would advise using UTF-8 unless you have good reasons not to).

0

精彩评论

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