瀏覽代碼

fix chinese encoding (#411)

Jyong 1 年之前
父節點
當前提交
36dc05c4da
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/core/data_source/notion.py

+ 1 - 1
api/core/data_source/notion.py

@@ -251,7 +251,7 @@ class NotionPageReader(BaseReader):
                 else:
                     value = property_value[type]
                 data[property_name] = value
-            database_content_list.append(json.dumps(data))
+            database_content_list.append(json.dumps(data, ensure_ascii=False))
 
         return "\n\n".join(database_content_list)