Hello,

is it a bug or a feature that if building mysql 5.5.8 from source with the options 'cmake . -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci'
the charset in include/config.h remains latin1:

#define MYSQL_DEFAULT_CHARSET_NAME "latin1"
#define MYSQL_DEFAULT_COLLATION_NAME "latin1_swedish_ci"

Probably there are some other places as well. As a result, if php is built against this mysql installation, it assumes the default charset to be latin1, so that many old php applications require adding the explicit connection settings (set names utf8) to work correctly.

The amazing thing is that in the 5.1 branch it works the other way - replaces everywhere to utf8, so 'set names utf8' is not needed.

Is there any way to make it so in 5.5.8?

----
Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)718-3322, 718-3115(fax)

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to