Monday, May 28, 2012

Exporting MySQL query with Arabic Content

While exporting a query as a file, if you come across some contents which are appearing as question marks ‘????????"’ then that means while exporting utf8 format was not enabled.

It can be enabled by setting --default-character-set=utf8 in mysql command on Unix / Linux / Solaris shell

Reference:

http://dev.mysql.com/doc/refman/5.0/en/charset-syntax.html

-urShadow


No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...