mysql utf8编码设置 C 函数调用乱码有关问题
mysql utf8编码设置 C 函数调用乱码问题
(1)mysql服务启动时,指定编码,(mysql client连接时,也可以指定)
(2)C 库client调用,通过函数指定 mysql_set_character_set(con,"utf8");