标签 > RAG 语料导入报 UnicodeDecodeError: utf-8 codec can t decode byte 0xce in position 0
RAG 语料导入报错 UnicodeDecodeError 'utf-8' codec can't decode byte 0xce,编码不匹配问题读取方案
RAG 导入 txt、csv 等中文语料抛出该解码异常,本质是文件实际编码为 GBK GB18030,程序默认用 utf-8 去读取,字节 0xce 是 GB
2026-12-02 12:20:35
