Bad UTF-8 encoding
todoniko opened this issue · 4 comments
todoniko commented
Cyrillic in org file(s) is not shown properly.
Attaching sample file.
test.org.txt
todoniko commented
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.
DanielDe commented
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!
todoniko commented
I haven't tested this very thoroughly, just quick fix.
Please do implement the fix if it is not causing any trouble.