我正在通过 PostgreSQL 导入功能将 CSV 文件导入 PostgreSQL 表,但出现此错误:
character with byte sequence 0xe2 0x80 0xa6 in encoding utf8 has no equivalent in encoding latin1
请帮我解决这个...
最佳答案
您正在尝试导入包含字符 ...
(“水平省略号”,Unicode 代码点 2026)的 UTF-8 文件。
这个字符不能用 LATIN1 编码,所以你不能这样做。
使用编码为 UTF8 的数据库或编辑导入文件以删除该字符。
关于postgresql - 在 utf8 编码中具有字节序列 0xe2 0x80 0xa6 的字符在编码 latin1 中没有等效项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52254412/