Re: Encoding problem with C API
Please check output of this query:
SHOW VARIABLES LIKE 'character_set%'
What does it return?
You can try to add this query in the beginning of your application:
mysql_query(mysql, "SET NAMES utf8")
or compile MySQL with utf8 as default.
Subject
Views
Written By
Posted
7409
April 10, 2005 08:52AM
Re: Encoding problem with C API
3681
April 14, 2005 05:23AM
6308
April 15, 2005 08:37AM
3914
May 07, 2005 08:06AM
6041
September 23, 2005 12:47AM
10465
October 08, 2005 03:20AM
4875
October 15, 2005 10:48AM
3686
November 27, 2005 12:33AM
3815
August 29, 2007 05:28AM
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.