jQuery-Autocomplete
jQuery-Autocomplete copied to clipboard
it does not work with arabic words
Hi i tries to test it with arabic countries names but display nothing although it works fine with english words and my page has
var countries = { "AD": "Andorra", "A2": "Andorra Test", "AE": "United Arab Emirates", "ZA": "South Africa", "ZM": "Zambia", "ZW": "Zimbabwe", "مص": "مصر", "مغ": "مغرب", "من": "منصور", "ZZ": "Unknown or Invalid Region" }
now how to check that the query or js country file is encoded into UTF-8?
Try base64 encoding your payload from the server. You can use jQuery base64 plugin to decode client-side.