convert from UTF8 to EUC-JP
| From: | Ligaya Turmelle | Date: | Fri, 30 Jan 2004 07:08:05 +0000 |
| Subject: | convert from UTF8 to EUC-JP | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-656@lists.php.net to get a copy of this message | ||
OK I have a really basic question I hope. How do you have UTF8 data saved
to a MySQL 4.0 database and then extract it and put it back into UTF8? Do I
have to use the mb_convert_encoding($str, EUC_JP, UTF8) in PHP before the
insert and the reverse after the select? I'm using UTF8 on the web page but
the 4.0 version of MySQL doesn't support it ( Idiot me tested it in 4.1 not
thinking so the whole project is designed in UTF8).
Please let me know if I'm barking up the wrong tree.