So can we fix the MySQL extension to just feed the UTF-16 as USC2 instead of converting to UTF-8?
> -----Original Message----- > From: Derick Rethans [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 03, 2007 12:38 AM > To: Andi Gutmans > Cc: Georg Richter; Andrei Zmievski; Rangel Reale; PHP I18N > Subject: RE: [PHP-I18N] PHP 6: Mysql with iso-8859-1 chars > outputting utf-8: "Could not convert binary string to Unicode string" > > 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 > -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php