MySQL Forums
Forum List  »  Newbie

Re: arabic character not saved in MySQL
Posted by: Peter Brawley
Date: June 21, 2013 11:30AM

You tried everything at mysql.rjweb.org/doc.php/charcoll including the link to Arabic in mysql tables, and nothing worked? That's surprising.

You could try the solution offered at www.adviesenzo.nl/examples/php_mysql_charset_fix/, with one change: instead of calling SET NAMES utf8, which does not control the client charset, call mysql_set_charset('utf8') or mysqli_set_charset('utf8') instead, because those functions do control the client charset.

If either of those works, then you'll just need to find the equivalent Connector/Net functionality & syntax.

Otherwise consider asking the question in the Connector/Net forum.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.