Re: Use Arabic in MySQL
Posted by: phoenix011
Date: November 07, 2006 12:28AM

Hi.

I am developing a PHP + MySQL webpage, and I use utf8 character set and utf8_general_ci collation. I have asked my friend yesterday about this, I mean which character set is the best if you develop a multilanguage website. I trust him. And it works fine.

Hmmm. Connection string...
I am not sure what do you mean :S. Do you mean this: SET NAMES utf8 or SET CHARACTER SET utf8 ?
I save all my files in utf-8 encoding and in the header put these lines:

<?php
header("Content-Type: text/html; charset=utf-8");
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

I hope it works for you too.

Sincerely,
Zsolt

Options: ReplyQuote


Subject
Views
Written By
Posted
7143
September 07, 2006 02:42AM
2995
September 28, 2006 03:13AM
2845
October 01, 2006 02:26PM
2590
November 02, 2006 11:48PM
Re: Use Arabic in MySQL
3888
November 07, 2006 12:28AM


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.