⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

bug with export into excel. v1.3 and Opera



victor
  • profile picture
  • Member

Posted 03 September 2012 - 08:34 AM

I have a problem with exporting into excel file.
this bug is present in the opera

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 04 September 2012 - 06:56 AM

Yeap, I can confirm that this is a bug and it is happening only in Opera Browser. That's weird....

I logged it as an issue to check it https://github.com/s...-crud/issues/91

Thanks

noskov.biz
  • profile picture
  • Member

Posted 04 September 2012 - 07:26 AM

For more info: in Opera for Ubuntu it is the same situation.

victor
  • profile picture
  • Member

Posted 04 September 2012 - 07:38 AM

Opera is not working properly probably with encoding UTF-16LE.
Why not use UTF-8?

victor
  • profile picture
  • Member

Posted 04 September 2012 - 08:02 AM

I realized. excel file must be in UTF-16.
Although I have works fine with UTF-8

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 04 September 2012 - 12:18 PM

The utf8 for excel doesn`t work correctly for the microsoft excel for foreign chars. I know that it works fine for libre office or open office but I have to make it available for microsoft office too. I will have a deeper look to check all the scenarios. For now I use only 3-4 lines for exporting and I don`t want to use external library for the exporting as grocery CRUD is already 4MB and I don`t want to make it bigger

victor
  • profile picture
  • Member

Posted 04 September 2012 - 15:07 PM

Note:
application/ms-excel
[attachment=263:err1.jpg]
application/[color=#ff0000]vnd[/color].ms-excel
[attachment=264:err2.jpg]

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 05 September 2012 - 07:10 AM

For now I followed your advice: https://github.com/scoumbourdis/grocery-crud/commit/cd5ed460496765edd6ae7b05395b77048c39b98d

Thanks

victor
  • profile picture
  • Member

Posted 07 September 2012 - 09:19 AM

Hi!
May make a request to support Opera?
I noticed that Opera does not like the name that contains the character ":"
for example: file name "export-12_01_2012_11: 20:30. xml". Opera renames "30.xml". If name "export-12_01_2012_11-20-30. xml" work fine. I saw it when removed from the headers "charset = UTF-16LE".