Skip to content
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

Need option "Convert to CSV UTF-8" #8

Open
vantanco opened this issue Dec 28, 2022 · 4 comments
Open

Need option "Convert to CSV UTF-8" #8

vantanco opened this issue Dec 28, 2022 · 4 comments

Comments

@vantanco
Copy link

My obsidian language is vietnamese and when I export it give me this error, can you add the option for csv format ?

image

@metawops
Copy link
Owner

Can you provide a sample note with a table where this behaviour occurs, please, so that I can try to understand the problem? Thanks!

@vantanco
Copy link
Author

The problem here is that my language need some special format like utf-8 in order to get the file name right, you can try this phrase as the note title and export it to see the problem "Đây là dòng test của note"

@yiyixi
Copy link

yiyixi commented Aug 27, 2023

Thanks for your contribution! I have the same issue. Actually if I set “copy to clipboard, too”, and then paste, it will function well. It's because the exported file is encoded in other forms. My language also need utf-8 format. For example, the Chinese phrase "你是谁?你想要什么?你能做什么?" is displayed in this odd way-“???????????????????????€?????????????????€??????”

@metawops
Copy link
Owner

Unfortunately, I don't see an option for creating a file with explicitly saying it should be UTF-8 encoded in the vault.create method here. The DataWriteOptions only seem to have something to do with ctime and mtime, nothing with the character encoding. Plus, nothing is documented there. Its all just guess-work. 😞
If any other Obsidian plugin developer with that knowledge might want to help – be my guest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants