jQuery-Autocomplete icon indicating copy to clipboard operation
jQuery-Autocomplete copied to clipboard

it does not work with arabic words

Open mancoeg opened this issue 7 years ago • 1 comments

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?

mancoeg avatar Sep 19 '18 22:09 mancoeg

Try base64 encoding your payload from the server. You can use jQuery base64 plugin to decode client-side.

designly1 avatar Nov 11 '19 05:11 designly1