RE: [PHP] utf-8 in mysql but not outputting as utf-8 on web

2005-12-22 Thread Denis Gerasimov
nt'l: +7 8362-468693 email:[EMAIL PROTECTED] > -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Friday, December 23, 2005 9:02 AM > To: php-general@lists.php.net > Subject: Re: [PHP] utf-8 in mysql but not outputting as utf-8 on web > >

Re: [PHP] utf-8 in mysql but not outputting as utf-8 on web

2005-12-22 Thread Curt Zirzow
On Thu, Dec 22, 2005 at 07:01:07PM -0800, jonathan wrote: > I'm inserting some info into a mysql table which has the charset set > to utf-8. > > When I do a select via the command-line from mysql, it looks like this: > Clams and mussels with Dijon-cr�me fra�che-saffron sauce > > assuming this i

Re: [PHP] utf-8 in mysql but not outputting as utf-8 on web

2005-12-22 Thread Ligaya Turmelle
Have you read this article - http://www.phparch.com/sample.php?mid=57 . jonathan wrote: I'm inserting some info into a mysql table which has the charset set to utf-8. When I do a select via the command-line from mysql, it looks like this: Clams and mussels with Dijon-crème fraîche-saffron sa

Re[3]: [PHP] utf-8 in mysql but not outputting as utf-8 on web

2005-12-22 Thread Kenneth Andresen
Hello Jonathan, You probably don't have php5 compiled with mbstrings enabled, if you have complied php5 with iconv instead you can try iconv('utf-8' , 'html', $string); I don't know what to recommend if you don't have any of these complied into php5. Best regards, Kenneth -- jonathan wro

Re: [PHP] utf-8 in mysql but not outputting as utf-8 on web

2005-12-22 Thread Kenneth Andresen
Hello, why not simply convert the text to html mb_convert_encoding($string, 'html', 'utf-8'); Best regards, Kenneth jonathan wrote: I'm inserting some info into a mysql table which has the charset set to utf-8. When I do a select via the command-line from mysql, it looks like this: Clam

[PHP] utf-8 in mysql but not outputting as utf-8 on web

2005-12-22 Thread jonathan
I'm inserting some info into a mysql table which has the charset set to utf-8. When I do a select via the command-line from mysql, it looks like this: Clams and mussels with Dijon-crème fraîche-saffron sauce assuming this is coming out in your email client ok, it should look good. On a web