when i use db_query in drupal to insert non-english letters (Arabic for example), it appears as question marks in the DB, while if i use mysql_query it works fine !!!
any idea about this and how to fix it??
Thanks for your help
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
thanks all for your attention…
i fixed this issue by using
mysql_set_charset(‘utf8’,$connection);