I need to export my data in CSV using ANSI. I modified the module to allow this, as an option when creating the view. Any comment is welcome.
Thanks for the patch, this is actually encoding into the ISO-8859-1 standard, more commonly known as Latin 1, not 'ANSI'. Not sure how I feel about adding character conversion to the export options however.
Could the patch be re-rolled for the 7.x-3.x branch, and we can integrate there please?
I just use drupal6, I don't know how to port it to D7.
I modified the module because some users wanted to open files in microsoft excel, which have problems with utf8 encoding; and it is really useful to me.
Thanks a bunch!
I needed this myself. A lot of formats - say of location coordinates - are variations of CSV. One can use CSV to export to them but many programs - say OziExplorer - expect ANSI, not UTF8.
Have rolled against the Latest 7.x dev.
I think this is valuable, in a similar vein to hvalentim some programs are very specific about the input file format.
I would also like to see control over line endings. I'll post a follow up patch if I get something useable on that front.
This was very helpful. Thanks a lot!!.
Pushed to all branches, thanks!
Automatically closed -- issue fixed for 2 weeks with no activity.
Why the ANSI format is no longer supported ?
I have created a patch for the version 7.x-3.0-beta6
Patch #8 worked for me.
The last submitted patch, views_data_export_support_ANSI.patch, failed testing.
#8: views_data_export_support_ANSI.patch queued for re-testing.
This patch needs to be rerolled again it seems. Would love for this support as well.
#1077084 by essbee, enboig, Steven Jones: Added Added support for ansi...
The new exporters in 7.x-4.x happily export to a wide range of encodings. 'ANSI' is not a valid encoding name input for Iconv, however - you need to use Windows-1252. This will be specifically mentioned this in the option's helper comment.
Automatically closed - issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.