[GH-ISSUE #3350] [BUG]: Call /v1/document/upload interface, the file name does not support Chinese, Chinese garbled characters appear, how to solve? thank you #2158

Closed
opened 2026-02-22 18:28:24 -05:00 by yindo · 3 comments
Owner

Originally created by @19927595625 on GitHub (Feb 26, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3350

How are you running AnythingLLM?

Docker (local)

What happened?

{"success":true,"error":null,"documents":[{"id":"16a7d7f1-39d1-40e6-9d8f-bdd517a6c902","url":"file:///app/collector/hotdir/?????????.pdf","title":"?????????.pdf","docAuthor":"Microsoft® Word 2016","description":"No description found.","docSource":"pdf file uploaded by the user.","chunkSource":"","published":"2/26/2025, 8:06:47 AM","wordCount":40745,"token_count_estimate":31382,"location":"custom-documents/.pdf-16a7d7f1-39d1-40e6-9d8f-bdd517a6c902.json"}]}

Are there known steps to reproduce?

No response

Originally created by @19927595625 on GitHub (Feb 26, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3350 ### How are you running AnythingLLM? Docker (local) ### What happened? {"success":true,"error":null,"documents":[{"id":"16a7d7f1-39d1-40e6-9d8f-bdd517a6c902","url":"file:///app/collector/hotdir/?????????.pdf","title":"?????????.pdf","docAuthor":"Microsoft® Word 2016","description":"No description found.","docSource":"pdf file uploaded by the user.","chunkSource":"","published":"2/26/2025, 8:06:47 AM","wordCount":40745,"token_count_estimate":31382,"location":"custom-documents/.pdf-16a7d7f1-39d1-40e6-9d8f-bdd517a6c902.json"}]} ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:28:24 -05:00
yindo closed this issue 2026-02-22 18:28:24 -05:00
Author
Owner

@19927595625 commented on GitHub (Feb 26, 2025):

Call /v1/document/upload, the file name does not support Chinese, Chinese garbled characters appear, how to solve? thank you

@19927595625 commented on GitHub (Feb 26, 2025): Call /v1/document/upload, the file name does not support Chinese, Chinese garbled characters appear, how to solve? thank you
Author
Owner

@timothycarambat commented on GitHub (Feb 26, 2025):

Define the charset in the upload helps a lot, without code I cannot determine what might be wrong
https://github.com/Mintplex-Labs/anything-llm/issues/1881

@timothycarambat commented on GitHub (Feb 26, 2025): Define the charset in the upload helps a lot, without code I cannot determine what might be wrong https://github.com/Mintplex-Labs/anything-llm/issues/1881
Author
Owner

@Pinocchioi commented on GitHub (Mar 6, 2025):

这个在1.7.5版本还是会出现中文文件名还是会出现中文乱码

@Pinocchioi commented on GitHub (Mar 6, 2025): 这个在1.7.5版本还是会出现中文文件名还是会出现中文乱码
yindo changed title from [BUG]: Call /v1/document/upload interface, the file name does not support Chinese, Chinese garbled characters appear, how to solve? thank you to [GH-ISSUE #3350] [BUG]: Call /v1/document/upload interface, the file name does not support Chinese, Chinese garbled characters appear, how to solve? thank you 2026-06-05 14:44:54 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2158