At 18:37 +0900 02.7.9, Jean-Christian Imbeault wrote:
>
>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: %phptest.php
Description: application/applefile

Attachment: phptest.php
Description: Binary data

-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to