How to change the enconding of TXT report?

Dear tryton team.
I’ve been following the account_es module as example to generate a .txt report everything ok until now.

Report output has utf-8 unicode as encoding. I’ve wondering if it’s possible to change this encoding to something like iso-8859-1 directly from tryton and also handle the end of line (Unix2dos)?

Thanks in advance

The relatorio (Genshi) render method accept an encoding parameter but it is not available as parameter in Tryton Report class.
For the EOL, this is a matter of putting it in the template.

Thanks as always. I’ll take a look.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.