Home » Software

MySQL & Arabic

Submitted by rayboy on April 29, 2007 – 4:35 amNo Comment

Just faced a problem with one of my projects, where the MYSQL tables where storing arabic as “????????????????????”.. thus making the content , unreadable. To solve this . Your insert/view pages, ASP or PHP should have the charset = charset=iso-8859-1. While in MySQL , change the table charset to UTF-8.

So finally mySQL converts the data into the required visibility as per your need.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.