David Powers wrote:
> What is the best configuration? If I set everything to EUC-JP, how wouldI also need visitors to be able to fill in online forms that can be mailed back to me. Since most Japanese people are likely to be using Windows, their input is likely to be in SJIS.
> the input from the online forms be handled? If Japanese ISPs offer PHP
> services, they must have thousands of customers using Windows machines
> to create their input, or is everything like that run on ASP?
Just a quick reply. I don't remember the settings but PHP can automatically convert incoming SJIS form data to EUC for you in a transparent way. (i.e. it translates in coming data into whatever the 'internal encoding' is set to)
Also if I remember correctly if you specify an character encoding of EUC-JP on the web page itself then all form data is sent to you as EUC-JP. The user enters the form data and the browser automatically converts it to to the specified encoding.
That would be great as I agree with you completely that there is a lack of english information on this subject. I'm even worse of than you in that I don't read japanese fluently. Setting up my server and scripts to handle japanese was a task in itself ...Once I get things sorted out, I would be very happy to assist by creating a brief guide in English to setting up PHP to handle Japanese.
Which reminds me ... I posted the very same question you are now a while back (maybe 6 months ago) and got a detailed explanation on some testing to do and the proper settings to use. Hopefully you can still find those posts in this list's archive ...
Jc
--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php