trilium
trilium copied to clipboard
(Bug report) In the exported md file, the Chinese name can't be connected to the original file
Preflight Checklist
- [X] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Trilium Version
0.48.8
What operating system are you using?
Other Linux
What is your setup?
Local + server sync
Operating System Version
ArchLinux
Expected Behavior
can same of the original name
Actual Behavior
in the file

but the real path is
1_08.金缕梅目/绿藻门.jpg
1_08.金缕梅目/image.png
Additional Information
No response
TBH I don't fully understand what's wrong here. The easiest would be if you could export the problematic subtree as ZIP, then I could reproduce it:
You can attach the ZIP file here or send it to [email protected]. Thanks!
sent and said in the email
maybe OP wants the original characters without urlencode
I ran into the same problem too. According to my test, if there is Chinese character or space key in the note name, when export .md file(with descendants), the referred pictures would fail to load.
Now let's see an example:
I've installed a plugin for Word named Writage to open .md file. What I want is like this:
If there is a space in file name, it will end up like this:
If there are Chinese character(s), will be like this:
Hope @zadam will fix this.
I'm thinking it's either problem of turndown
library of encoding the filepath or the Writage plugin not processing it correctly ... difficult to say though.