Re: [PHP] Japanese with UTF-8 and mysql

2005-06-08 Thread Mark Sargent
Richard Lynch wrote: On Mon, June 6, 2005 11:02 pm, Mark Sargent said: The correct way - if one wants utf-8 as charset - is: header("Content-Type: index/html; charset=utf-8"); actually, if I add this, header("Content-Type: index/html; charset=utf-8"); as suggested, firefox p

Re: [PHP] Japanese with UTF-8 and mysql

2005-06-08 Thread Richard Lynch
On Mon, June 6, 2005 11:02 pm, Mark Sargent said: >>> The correct way - if one wants utf-8 as charset - is: >>> header("Content-Type: index/html; charset=utf-8"); > actually, if I add this, > > header("Content-Type: index/html; charset=utf-8"); > > as suggested, firefox prompts to download the pag

Re: [PHP] Japanese with UTF-8 and mysql

2005-06-06 Thread Mark Sargent
Mark Sargent wrote: Peter Brodersen wrote: On Thu, 2 Jun 2005 11:58:26 +0100, in php.general [EMAIL PROTECTED] (Richard Davey) wrote: I would recommend setting UTF-8 as the Content-type via PHP itself: header('Content-type: UTF-8') - do it as one of the first things when you're ready to o

Re: [PHP] Japanese with UTF-8 and mysql

2005-06-06 Thread Mark Sargent
Peter Brodersen wrote: On Thu, 2 Jun 2005 11:58:26 +0100, in php.general [EMAIL PROTECTED] (Richard Davey) wrote: I would recommend setting UTF-8 as the Content-type via PHP itself: header('Content-type: UTF-8') - do it as one of the first things when you're ready to output the HTML.

Re: Re[2]: [PHP] Japanese with UTF-8 and mysql

2005-06-03 Thread Peter Brodersen
On Thu, 2 Jun 2005 11:58:26 +0100, in php.general [EMAIL PROTECTED] (Richard Davey) wrote: >I would recommend setting UTF-8 as the Content-type via PHP itself: >header('Content-type: UTF-8') - do it as one of the first things when >you're ready to output the HTML. UTF-8 is a charset, not a Conten

Re: [PHP] Japanese with UTF-8 and mysql

2005-06-02 Thread Mark Sargent
Richard Davey wrote: Hello Mark, Thursday, June 2, 2005, 4:18:30 AM, you wrote: MS> session_start(); MS> include("database.php"); ?>> I would recommend setting UTF-8 as the Content-type via PHP itself: header('Content-type: UTF-8') - do it as one of the first things when you're ready to outp

Re[2]: [PHP] Japanese with UTF-8 and mysql

2005-06-02 Thread Richard Davey
Hello Mark, Thursday, June 2, 2005, 4:18:30 AM, you wrote: MS> session_start(); MS> include("database.php"); ?>> I would recommend setting UTF-8 as the Content-type via PHP itself: header('Content-type: UTF-8') - do it as one of the first things when you're ready to output the HTML. MS> "http

Re: [PHP] Japanese with UTF-8 and mysql

2005-06-02 Thread M. Sokolewicz
Mark Sargent wrote: Richard Davey wrote: Hello Mark, Monday, May 30, 2005, 4:18:20 PM, you wrote: MS> I have my settings in php.ini set for UTF-8, and the encoding for MS> the mysql database table's column that is using Japanese to UTF-8. MS> Now, if I view the data stored in that column in p

Re: [PHP] Japanese with UTF-8 and mysql

2005-06-01 Thread Mark Sargent
Richard Davey wrote: Hello Mark, Monday, May 30, 2005, 4:18:20 PM, you wrote: MS> I have my settings in php.ini set for UTF-8, and the encoding for MS> the mysql database table's column that is using Japanese to UTF-8. MS> Now, if I view the data stored in that column in phpmyadmin, via MS> sa

Re: [PHP] Japanese with UTF-8 and mysql

2005-06-01 Thread Richard Davey
Hello Mark, Monday, May 30, 2005, 4:18:20 PM, you wrote: MS> I have my settings in php.ini set for UTF-8, and the encoding for MS> the mysql database table's column that is using Japanese to UTF-8. MS> Now, if I view the data stored in that column in phpmyadmin, via MS> say, firefox, it displays

[PHP] Japanese with UTF-8 and mysql

2005-05-30 Thread Mark Sargent
Hi All, I have my settings in php.ini set for UTF-8, and the encoding for the mysql database table's column that is using Japanese to UTF-8. Now, if I view the data stored in that column in phpmyadmin, via say, firefox, it displays in UTF-8, but, if I pull the code from the database and displa