MYSQL存储过程的中文乱码问题
asp调用mysql存储过程,参数有中文,将参数插入到表后查询为乱码。现在有两种情况
1、网页不调用存储过程,而只是用INSERT,UPDATE操作语句更新数据时,中文插入或更新无问题
2、存储过程中的中文参数设置为CHARACTER SET utf8后,在库中用CALL PRODECURE(A,B)时无乱码,但网页调用仍是乱码。
3、网页设置为UTF-8
4、show variables like 'character_set_%';结果
character_set_client utf8
character_set_connection utf8
character_set_database utf8
character_set_filesystem binary
character_set_results utf8
character_set_server utf8
character_set_system utf8
character_sets_dir C:\Program Files\MySQL\MySQL Server 5.0\share\charsets\
不知道问题出在哪?