-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
NEW Add possibility to choose format #21426 #23509
Conversation
… choose between utf-8 and iso format
/** | ||
* Class to build export files with format CSV | ||
*/ | ||
class ExportCsvUtf8 extends ModeleExports |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems this class is a copy of the class for iso but with just few lines changed.
So why not don't you make an inherit
class ExportCsvUtf8 extends ExportCsv
And implement into class only properties or method with change for utf8 ?
Still travis error. Try to move the set of the CHARSET... into an surcharging method write_record, ... instead of into constructor. |
Unit test to fix |
… files to override the write_title and write_record functions to initialize EXPORT_CSV_FORCE_CHARSET
…adds an export type when choosing the export type
@eldy seams ok |
NEW|New feature(#21426) Added in the export module the possibility to choose between utf-8 and iso format