jQuery and non-unicode characters -
i'm trying use jquery autocomplete database. works fine english values have rows in arabic , showing (????).
i start pages with:
<meta http-equiv="content-type" content="text/html; charset=utf-8"> <link href="style2.css" rel="stylesheet" type="text/css"> <style type="text/css"></style>
my database formatted in utf8. include connection db file says :
$conn = mysql_connect("localhost","root","") or die ($dberror1); mysql_select_db("finishing", $conn); mysql_query("set names 'utf8'"); mysql_query('set character set utf8')
note: other items in arabic work fine. it's jquery autocomplete having issues with.
change charset type in meta tag:
<meta http-equiv="content-type" content="text/html; charset=charset=iso-8859-6">
charset=iso-8859-6
used support arabic language in html page on browser.
edited:
well helpful sure.
<script type="text/javascript" charset="iso-8859-6"> // code making auto complete // either ajax request or thing </script>
just add charset in script tag.
for more information see link.