DanielDe/org-web

Bad UTF-8 encoding

todoniko opened this issue · 4 comments

Cyrillic in org file(s) is not shown properly.
Attaching sample file.
test.org.txt

Had some free time on my hands.
So far the issue is present for Google Drive only. Tests with the same file for dropbox were fine.
Modifying the response in


to
resolve(decodeURIComponent(escape(response.body)))
Fixes the issue.

Wow, that's awesome, thanks so much! I'm happy to accept a PR if you'd like to submit one, @todoniko, or I can implement this myself!

I haven't tested this very thoroughly, just quick fix.
Please do implement the fix if it is not causing any trouble.

I just pushed this fix live! Thanks again for your help @todoniko