windows环境下mysql中文混沌码的求解
1、通过显示变量like'character_ %;所有的设置显示。所有非UTF8编码设置为utf8
设置如:集character_set_server = utf8;
2, go to the MySQL installation directory to find the my.ini file.The Latin1 in the setting is utf8
三.response.setcharacterencoding(UTF-8)如果有一个随机码,当数据在java端连通。