Andrei Zmievski wrote: > Georg, > > Can you look into this? > > -Andrei >
Hi!, >> >> mysql_query('set names latin1', $this->mysql_link); That doesn't work when unicode.semantics is on. When running with unicode.semantics=on mysql extension expects data from server in utf8. >> >> mysql_query('set names utf8', $this->mysql_link); You don't need to do that, after calling mysql_connect the utf8 character set will be set by default. >> >> it works, but I would like to keep compatibility with PHP 5, and for >> my application it requires set names to be latin1. Also, my databases >> are not created with the "utf8" option. MySQL Server takes care of the conversion, so if your tables are in latin1, and default character set is utf8 data will be converted on server side. /Georg -- Georg Richter, Development Manager - Connectors & Client Connectivity MySQL GmbH, Radlkoferstr. 2, D-81373 München, www.mysql.com Geschäftsführer: Hans von Bell, Kaj Arnö - HRB München 162140 -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php