Re: [PHP] PHP charset encoding

2004-04-02 Thread Leung WC
if the page that the input form is on sets utf-8 as the content type, then most (?) browsers will send utf-8. you can use a meta tag like: utf-8 characters are 8 bit clean, so they can be stored and retrieved in mysql 3.x ok, but proper utf-8 sorting etc. doesn't work. for many purposes though

Re: [PHP] PHP charset encoding

2004-03-31 Thread Ma Siva Kumar
On Tuesday 30 March 2004 19:31, Rob Ellis wrote: > On Tue, Mar 30, 2004 at 11:23:03AM +0300, nabil wrote: > > When submitting a data from an HTML page > > and inserting them in MySQL: what > > encoding they will be ? > > is it the page encoding? > > the field size like VARCHAR 15 won't fit > > th

Re: [PHP] PHP charset encoding

2004-03-30 Thread Rob Ellis
On Tue, Mar 30, 2004 at 11:23:03AM +0300, nabil wrote: > Hi all, > > I have problem storing the submitted data in the database in the right > encoding. > I need to use UTF-8 > > I need to save the Arabic text in UTF-8 encoding. > > I have a problem with UTF-8 and windows-1256 conversion. > I wis

[PHP] PHP charset encoding

2004-03-30 Thread nabil
Hi all, I have problem storing the submitted data in the database in the right encoding. I need to use UTF-8 I need to save the Arabic text in UTF-8 encoding. I have a problem with UTF-8 and windows-1256 conversion. I wish I can understand those things, coz encoding thing will take my hair off..