Hi,

On Fri, 12 Sep 2003 12:24:33 -0700
"Chris W. Parker" <[EMAIL PROTECTED]> wrote:

> (now to the entire list)
> 
> Mark McCulligh <mailto:[EMAIL PROTECTED]>
>     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");
> ?>
 
Or, you can just declare it inside you're <head> tags (as mentioned previously). Also, 
depending on the charset you're using, you might need "shift_jis" instead of "euc-jp". 
("euc-jp" is recommended though esp. if data is coming from a database.)

> 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).

Quanta works fine for me. ( http://quanta.sourceforge.net/ ) And you don't have to buy 
it ;) Actually, as long as you can change the default font used (and assuming you have 
the fonts installed), *most* editors should do just fine.

- E -

__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to