-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Bug report) Import file with Chinese char in file name cause random char in file name after import #3013
Comments
Hi, sorry for late response, are you importing notes in ZIP or directly from filesystem? ZIP has the issue that it assumes UTF-8 encoding, but as I learned most chinese software pack with a different encoding. |
directly from filesystem |
could you post some screenshot of the original filename and imported? To have an idea how the characters get mangled ... |
I see, my guess is that you're using non-unicode system encoding. Trilium is tested (and thus supported) only on unicode encoding. Of course, if the fix is simple enough then PR is welcome. |
Fix UTF-8 file name encoding for uploads (fixes #3013)
Trilium Version
0.53.2
What operating system are you using?
Windows
What is your setup?
Local (no sync)
Operating System Version
windows 10 1809
Description
Import file with Chinese char in file name cause random char in file name after import.
The text was updated successfully, but these errors were encountered: