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

save as markdown utf-8 encoding #371

Open
enricocavalli opened this issue Apr 7, 2014 · 6 comments
Open

save as markdown utf-8 encoding #371

enricocavalli opened this issue Apr 7, 2014 · 6 comments
Labels

Comments

@enricocavalli
Copy link

utf-8 characters are not encoded correctly from "save as..." -> markdown

for instance this is correct for "àèìòù"

data:application/octet-stream;charset=utf-8;base64,w6DDqMOsw7LDuQ==

regards,
Enrico

@benweet
Copy link
Owner

benweet commented Apr 7, 2014

Are you using Safari? I think it works differently on this browser.

@enricocavalli
Copy link
Author

Yes sorry i thougt it was wrong everywhere. Latest Safari on Mac OS X

@benweet
Copy link
Owner

benweet commented Apr 7, 2014

Can you confirm it works fine in another browser? (chrome or firefox basically)

@enricocavalli
Copy link
Author

chrome or firefox actually download a file - safari only displays a data uri

@benweet
Copy link
Owner

benweet commented Apr 7, 2014

Yes that's because FileSaver.js library does not work on Safari. See eligrey/FileSaver.js#12

@enricocavalli
Copy link
Author

thanks for the explanation. By the way accented characters are correctly written is saved even from safari. Also could be questionable setting a charset for mime type application/octet-stream.

@benweet benweet added the bug label Apr 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants