MySQL C API programming – Solve garbled Chinese words

The garbled Chinese worlds is caused by the incorrect character setting.

mysql_set_character_set: http://dev.mysql.com/doc/refman/5.5/en/mysql-set-character-set.html

 

Leave a Reply

Your email address will not be published. Required fields are marked *