RE: [PHP-I18N] PHP 6: Mysql with iso-8859-1 chars outputting utf-8: "Could not convert binary string to Unicode string"
| From: | Derick Rethans | Date: | Thu, 03 May 2007 07:37:37 +0000 |
| Subject: | RE: [PHP-I18N] PHP 6: Mysql with iso-8859-1 chars outputting utf-8: "Could not convert binary string to Unicode string" | ||
| References: | 1 2 3 4 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1066@lists.php.net to get a copy of this message | ||
On Wed, 2 May 2007, Andi Gutmans wrote:
> Georg,
>
> Do you guys support UTF-16? It'd be nice if we could just feed MySQL
> UTF-16 and you'd do the right thing. It'd save us from having to
> convert to UTF-8. Sure you'd have to most probably do it for us but
> it's easier when the DB driver does the work.
AFAIK MySQL only supports USC2, and not UTF-16. That shouldn't cause any
problems though as this means MySQL would not support chars out of the
BMP (which it wouldn't with UTF8 either).
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org