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

UTF-8 enconding issue using Excel export (not tested with other format) #4

Closed
simogeo opened this issue Mar 12, 2015 · 2 comments
Closed

Comments

@simogeo
Copy link
Contributor

simogeo commented Mar 12, 2015

I have the impression that this jquery.base64.js file is more UTF-8 compatible than the current embedded version (see commit 335bacb ). Is that possible? Tested with libreOffice only.

Some complement (@hhurz ) :

Regarding UTF-8 and jquery.base64.js, I've seen in the code (around L358) :

downloadFile(defaults.fileName+'.'+extension, 'data:application/vnd.ms-'+defaults.type+';base64,' + base64data);

and tried :

downloadFile(defaults.fileName+'.'+extension, 'data:application/vnd.ms-'+defaults.type+';charset=utf-8;base64,' + base64data);

But I get the same encoding accent problem

@hhurz
Copy link
Owner

hhurz commented Mar 15, 2015

There was no need to replace the existing base64 code. The solution to solve this problem can be found in Encoding UTF-8 when exporting HTML table to Excel
and in this question Importing HTML table into OO Calc as UTF8 without converting to entities

@hhurz hhurz closed this as completed Mar 15, 2015
@simogeo
Copy link
Contributor Author

simogeo commented Mar 15, 2015

Not sure to get you .... but I've seen you made some changes on the library, and specifically on base64. I will update it and make more tests to know if the problem persists.

Thanks

@simogeo simogeo mentioned this issue Mar 16, 2015
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

2 participants