Browse Source

修改编码

chaixuhong 2 weeks ago
parent
commit
1cff1525c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      llmops/agents/data_stardard.py

+ 1 - 1
llmops/agents/data_stardard.py

@@ -227,7 +227,7 @@ JSON Array:
         csv_result = await self.parse_to_csv(file_path)
 
         if csv_result:
-            with open(full_path, "w", encoding="utf-8-sig") as f:
+            with open(full_path, "w", encoding="utf-8") as f:
                 f.write(csv_result)
             return full_path
         else: