确保.py,html文件是utf-8编码
html:在head标签里添加:<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
创建数据库时候:create database dbName default character set utf8 collate utf8_general_ci;
确保.py,html文件是utf-8编码
html:在head标签里添加:<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
创建数据库时候:create database dbName default character set utf8 collate utf8_general_ci;