Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix chinese encoding (#411)

Jyong36dc05c4dae2
diff --git a/api/core/data_source/notion.py b/api/core/data_source/notion.py
index 0af870114a5..8307af38359 100644
--- a/api/core/data_source/notion.py
+++ b/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)