On 2003.10.30, at 18:46 Asia/Tokyo, Eugene Lee wrote:


On Thu, Oct 30, 2003 at 10:36:37AM +0100, Marek Kilimajer wrote:
:
: Unless you want to do string manipulation you don't need mbstring. You
: only need to pay atention to these details:
: 1. Set charset to kanji for your html pages using
: header('Content-type: text/html; charset=kangi');


a. it's spelled "kanji" and not "kangi".

b. "charset=ISO-2022-JP".

Although that would work, I wonder if it'd be easy to find an editor for that... It's usually used for e-mails though.


It's always a good idea to use "EUC-JP" (or, if possible, UTF-8).

For "shift_jis", here's a note from the manual:

http://jp2.php.net/manual/en/ref.mbstring.php

    Note: SJIS should not be used for internal encoding unless
      the reader is familiar with parser/compiler, character encoding
      and character encoding issues.

- 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