MySQL Forums
Forum List  »  Source, Builds, Binaries

Compiling mysql client libraries
Posted by: Jany Bravo
Date: May 26, 2005 01:36PM

Default library compiled by mysql uses "latin1_swedish_ci" encoding, which results in wrong output for other characters. Changing "my.cnf" configuration to tell server default-charset=utf8 doesn't help.
If mysql server was compiled from source distribution --with-chaset=utf8 there's no problem. Client uses proper encoding "utf8_general_ci" (e.g. php: mysql_client_encoding() reports so).

Is it possible to force mysql client library to act as it was compiled --with-chaset=utf8. Or somehow recompile it without modifying server binary (distributed by mysql) at freebsd 5.3.

Thank you in advance!

Options: ReplyQuote


Subject
Views
Written By
Posted
Compiling mysql client libraries
3771
May 26, 2005 01:36PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.