Alternative CSV delimeter and BOM?
-
Hi!
First of all – thanks for that great form plugin!
Even the free version is very usable and versatile – thanks alot for providing it!Coming from German-speaking background, i’d have one small feature request:
The german version of MS Excel expects CSV files to have a semicolon (;) as separator and an UTF8 Byte Order Mark ( 0xEF,0xBB,0xBF ) at the start of the file.
If you don’t provide these, you can’t just double click a CSV-File to open it in Excel – you have to import it via text/data import, which is a major PITA if you have to do that regulary.
You’re already providing Hooks/Filters for CSV data, character_encoding and file type in classes/admin.php and classes/csv/util.php.
Any chance you extend the export in admin.php ( from line 1436 ) that we have also have hooks for delimiter and activating the BOM?
Right now, to achieve that behavior, i have to unregister your init hook, catch and redirect export request to my own code – and call your original hook for all other requests … which is a little bit complicated and not very future-proof ??
I’d would be more than willing to provide the extended code – would be a change with not more than 4-5 lines of code.
Many thanks in advance and best regards from
Salzburg, Austria!
- The topic ‘Alternative CSV delimeter and BOM?’ is closed to new replies.