Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我将其从 Excel 导出到 csv 文件中以导入 MySQL 时
Bl Michał Sopoćko, 牧师
我明白了
比尔米查?Sopo?ko
有没有办法导出文件以获得正确的字符?
首先,您应该检查在从 Excel 导出期间指定的编码选项(在保存对话框 -> 工具按钮 -> Web 选项 -> 编码选项卡中)。
接下来尝试将数据库表转换为这种编码:
ALTER TABLE <table_name> CONVERT TO CHARACTER SET <character_set> COLLATE <collate_name>