Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] OT-Japanese in PHP
- Date: Fri, 20 May 2005 17:01:58 +0900
- From: Mark Sargent <powderkeg@example.com>
- Subject: Re: [tlug] OT-Japanese in PHP
- References: <428D88EA.1090308@example.com> <20050520073929.GA17131@example.com>
- Organization: Home
- User-agent: Mozilla Thunderbird 0.9 (X11/20041127)
Mauro Sauco wrote: >Hi Mark, > >On 2005/05/20@example.com:51, <Mark Sargent> wrote: > Mark> > Mark> I apologize up front if I've broken a golden rule, posting this here. > Mark> I'm learning PHP/MYSQL and am trying to get Japanese pulled from the > Mark> database to display correctly. I've set this at the top of my pages, > Mark> <html lang="Shift_JIS"> > Mark> and this for the font > Mark> <font type=\"Shift_JIS\">$product_data_output</font> > >I think you are mixing up a couple of things, to pull out Japanese data >from MYSQL you will provably need to make MYSQL aware of the >character set you intent to use, support for character set handling >was added to MYSQL in version 4.1. > > > Yep, the Japanese is okay in MYSQL..displays fine in phpmyadmin >As for the PHP code, it might be enough to specify a default media type >charset parameter to your web server, example for Apache you could >use the AddDefaultCharset Directive. > > will check it out >Then you'll have to make shure that PHP is encoding the outputs to >the proper character set. > > onto that now... >Hope you have enough info here to spend some time researching by >yourself now :) > > > mate, if I ref you again in League, I'm gonna march ya 10meters..haha, only kidding..cheers. >//mauro// > > > Mark Sargent.
- References:
- [tlug] OT-Japanese in PHP
- From: Mark Sargent
- Re: [tlug] OT-Japanese in PHP
- From: Mauro Sauco
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] OT-Japanese in PHP
- Next by Date: Re: [tlug] OT-Japanese in PHP
- Previous by thread: Re: [tlug] OT-Japanese in PHP
- Next by thread: Re: [tlug] OT-Japanese in PHP
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links