RE: [PHP-I18N] PHP 6: Mysql with iso-8859-1 chars outputting utf-8: "Could not convert binary string to Unicode string"

[email protected] (Derick Rethans) Thu, 3 May 2007 09:37:37 +0200 (CEST)
Newsgroups php.i18n
Message-ID <[email protected]>
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