在往数据库导入数据之前,需要:
SET CHARACTER_SET_CLIENT = utf8;
SET CHARACTER_SET_CONNECTION = utf8;
SET CHARACTER_SET_DATABASE = utf8;
SET CHARACTER_SET_RESULTS = utf8;
SET CHARACTER_SET_SERVER = utf8;
SET COLLATION_CONNECTION = utf8_general_ci;
SET COLLATION_DATABASE = utf8_general_ci;
SET COLLATION_SERVER = utf8_general_ci;
mysql encoding的注意点__2009
最新推荐文章于 2022-01-16 13:17:10 发布