RE: [PHP] Japanese on a page

From: Date: Fri, 12 Sep 2003 19:24:33 +0000
Subject: RE: [PHP] Japanese on a page
Groups: php.general 
Request: Send a blank email to php-general+get-162460@lists.php.net to get a copy of this message
(now to the entire list) Mark McCulligh <mailto:mmcculli@visualtech.ca> on Friday, September 12, 2003 11:48 AM said: > I am trying to create both an English and Japanese version of a site. > The English done and I have the Japanese translation in a word doc. > Can someone point me in the right direction on how I do this. I know > it has something to do with the META setting. I have only dabbled in this so I don't know the proper terms and technologies used, but I'll try to pass on what I've learned. It requires a few things. 1. PHP needs to send the proper header. (At the top of each page.) <? header("Content-type: text/html; charset=EUC-JP"); ?> 2. You also need to send the correct language info from within the page itself. I suggest going to a japanese page and looking at the source. 3. You need an editor that can handle the japanese language. I stopped trying to make japanese pages because I could not find a suitable editor (granted I didn't try very hard and I wasn't about to buy something). Hope this helps! Chris.

« previous php.general (#162460) next »