jquery autocomplete IE6 ascii issue
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).
精彩评论