Knowledge API special chars encoding challenge #2825

Closed
opened 2026-02-21 17:50:30 -05:00 by yindo · 0 comments
Owner

Originally created by @sigvardt on GitHub (Apr 30, 2024).

Originally assigned to: @JohnJyong on GitHub.

Self Checks

  • This is only for bug report, if you would like to ask a quesion, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

Version 0.6.5

Cloud or Self Hosted

Cloud

Steps to reproduce

  1. Use the http request node and send a json post to the Knowledge API endpoint
  2. Include special chars in the post request - example "ä" and the strings in the attached screenshots
  3. Issue seems to happen intermittently.
image image_2_10-5-47 image_10-5-10

✔️ Expected Behavior

String captured in Knowledge dataset reflect String submitted via API

Actual Behavior

Special chars are captured as other (unrelated) special chars

Originally created by @sigvardt on GitHub (Apr 30, 2024). Originally assigned to: @JohnJyong on GitHub. ### Self Checks - [X] This is only for bug report, if you would like to ask a quesion, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Dify version Version 0.6.5 ### Cloud or Self Hosted Cloud ### Steps to reproduce 1. Use the http request node and send a json post to the Knowledge API endpoint 2. Include special chars in the post request - example "ä" and the strings in the attached screenshots 3. Issue seems to happen intermittently. <img width="415" alt="image" src="https://github.com/langgenius/dify/assets/6000238/5923064e-3834-402d-8822-1a47d5d507ab"> <img width="568" alt="image_2_10-5-47" src="https://github.com/langgenius/dify/assets/6000238/b7dce5c5-63ae-4f2e-8155-65c0c5cbf984"> <img width="1170" alt="image_10-5-10" src="https://github.com/langgenius/dify/assets/6000238/79b59993-d7e3-4ea9-9f6b-6c1c5ff5918b"> ### ✔️ Expected Behavior String captured in Knowledge dataset reflect String submitted via API ### ❌ Actual Behavior Special chars are captured as other (unrelated) special chars
yindo added the 🐞 bug label 2026-02-21 17:50:30 -05:00
yindo closed this issue 2026-02-21 17:50:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2825