Re: Japanese entry into MySQL and into emails
| From: | - Edwin - | Date: | Thu, 30 Oct 2003 13:55:34 +0000 |
| Subject: | Re: Japanese entry into MySQL and into emails | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168145@lists.php.net to get a copy of this message | ||
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/