Re: Re: mbstring: Japanese: encoding conversion not workingfor me
| From: | David Emery | Date: | Tue, 09 Jul 2002 12:54:17 +0000 |
| Subject: | Re: Re: mbstring: Japanese: encoding conversion not workingfor me | ||
| References: | 1 2 3 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-269@lists.php.net to get a copy of this message | ||
At 18:37 +0900 02.7.9, Jean-Christian Imbeault wrote:
Attachment: [application/applefile] %phptest.php
Attachment: [application/octet-stream] phptest.php
Am I right in thinking that if I set the internal encoding then I shouldn't need to do any conversion before putting data into my DB (which only accepts EUC)? From the tests I have run it seems like PHP accepts the data and *keeps* it in it's original encoding ...Something's fishy there. The script you put in your mail is a bit hard for me to follow so here's a really simple test that works as it should on my system. Try it on yours and see if it's ok. If not then you probably have some kind of configuration problem. I also included the relevant output of phpinfo() on my system. HTH, Dave
Attachment: [application/applefile] %phptest.php
Attachment: [application/octet-stream] phptest.php