Re: mbstring: Japanese conversion not working for me
| From: | Jean-Christian Imbeault | Date: | Tue, 09 Jul 2002 05:06:59 +0000 |
| Subject: | Re: mbstring: Japanese conversion not working for me | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106235@lists.php.net to get a copy of this message | ||
Thanks for the ideas Alberto but what I relly want is to understand how to use the mbstring library, not how to implement a new solution. mbstring is supposed to do everything I want, I guess I am just not quite understanding how to use it yet.
Also in regard to some things you said,
Now, let's make sure we have a clear background: 1) japanese chars come in three flavours:1) is true but irrelavant. I am assuming that mbstring can automatically detect and convert the user's input.a) ISO-2022-JP (the one you are using yourself) b) SHIFT-JIS c) EUC-JP2) your database setting requires you input in c) style whileyou present it values in a) style.
*Database configuration* if possible, turn your Postgres configuration into one that will all three charsetsImpossible, though it would be nice. Postgres can only accept one charset for it's input not multiple.
*charset forcing* have your input page always delivered in standard format,My page is always in the same charset, the problem is that the user input might not be ... Jc