Skip navigation links

MySQL Forums :: Full-Text Search :: Arabic text in mysql Varchar row


Advanced Search

Re: Arabic text in mysql Varchar row
Posted by: Mark Webley ()
Date: September 25, 2011 12:09PM

Hi Rick,

Ok now...the description comes out perfectly in arabic from the db to the php page.

But the title comes out as : ? ?? ???? ??? ???? ? ?? ???? ???...

the data in the Db for the description is:
في الخط ف في الخط ففي الخط ف في الخط ففي الخط ف في الخط ففي الخط ف في الخط ففي الخط ف في الخط ف

But the data for the title in the db is:
? ? ?? ???? ??? ???? ? ?? ???? ???

On both the insert and the select I use:
self::$conn->query("SET NAMES utf8");

In the db:
description is longtext charset utf8 with collation utf8_unicode_ci

title is varchar(255) charset utf8 with collation utf8_unicode_ci


so I changed the title to the same as the description
longtext charset utf8 with collation utf8_unicode_ci

I still got ???? ???? for the title row.

I think I have a corrupted table or db...I will try and do more tests.

Options: ReplyQuote


Subject Views Written By Posted
Arabic text in mysql Varchar row 6059 Mark Webley 09/05/2011 04:23PM
Re: Arabic text in mysql Varchar row 1665 Rick James 09/07/2011 08:01PM
Re: Arabic text in mysql Varchar row 2442 Mark Webley 09/08/2011 04:45PM
Re: Arabic text in mysql Varchar row 1537 Rick James 09/09/2011 06:46PM
Re: Arabic text in mysql Varchar row 2357 Mark Webley 09/11/2011 08:03AM
Re: Arabic text in mysql Varchar row 1389 Rick James 09/12/2011 11:30AM
Re: Arabic text in mysql Varchar row 1909 Mark Webley 09/12/2011 06:16PM
Re: Arabic text in mysql Varchar row 1277 Mark Webley 09/12/2011 06:17PM
Re: Arabic text in mysql Varchar row 1280 Rick James 09/13/2011 09:44PM
Re: Arabic text in mysql Varchar row 1650 Mark Webley 09/17/2011 05:53AM
Re: Arabic text in mysql Varchar row 1341 Rick James 09/18/2011 01:45PM
Re: Arabic text in mysql Varchar row 1384 Mark Webley 09/19/2011 04:10PM
Re: Arabic text in mysql Varchar row 1330 Rick James 09/20/2011 08:19PM
Re: Arabic text in mysql Varchar row 1555 Mark Webley 09/25/2011 12:09PM
Re: Arabic text in mysql Varchar row 1371 Rick James 09/28/2011 09:53PM
Re: Arabic text in mysql Varchar row 1320 Mark Webley 09/29/2011 02:44PM
Re: Arabic text in mysql Varchar row 1873 Rick James 09/30/2011 10:14AM
Re: Arabic text in mysql Varchar row 1987 Rick James 09/10/2011 03:07PM
Re: Arabic text in mysql Varchar row 1900 Mark Webley 09/11/2011 08:01AM


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.