Export CSV files with another encoding?

Hello,

for our integration with Sage 50 Extra swiss edition, we have extended the accounting module.
Now we need to export the files in either ANSI or PC8 format.

The export is generated in the “standard” accountancyexport.class.php file.
The file itself is then downloaded via export_journal.tpl.php .
Dolibarr itself is set to deliver UTF-8 stuff.

How can this be done in a dolibarr compliant way?
As a “hack” I would set encoding header in export_journal.tpl.php to match what I need, but perhaps there is a better way for such things?

André

Hi aschild,

See this link: Setup Other
At the index click on Export module

2 Likes

Ok,

but I don’t wish to force all exports to one charset, only that specific one…