Content
View differences
Updated by Markus Kahl over 12 years ago
There are to two things that can be exported to CSV:
1. Work Packages
2. Time Logs
While all text in the database is UTF-8 encoded the export tries to export it to ISO-8859-1.
This breaks as soon as one tries to export data containing actual UTF-8 characters.
The reason this issue hasn’t surfaced until now is that only data covered by ISO-8859-1 has been exported.
<ins>Example</ins>
Exporting this work package will fail. Because:
• There is an umlaut in the subject
• There are Unicode bullet points in the this description
<ins>Expected Behaviour</ins>
The CSV Export should successfully export this work package.
<ins>Actual Behaviour</ins>
The CSV Export fails only yielding an internal server error page (500).
<ins>Fix</ins>
Export CSV in UTF-8 as opposed to ISO-8859-1.
PR [888](https://github.com/opf/openproject/pull/888)
1. Work Packages
2. Time Logs
While all text in the database is UTF-8 encoded the export tries to export it to ISO-8859-1.
This breaks as soon as one tries to export data containing actual UTF-8 characters.
The reason this issue hasn’t surfaced until now is that only data covered by ISO-8859-1 has been exported.
<ins>Example</ins>
Exporting this work package will fail. Because:
• There is an umlaut in the subject
• There are Unicode bullet points in the this description
<ins>Expected Behaviour</ins>
The CSV Export should successfully export this work package.
<ins>Actual Behaviour</ins>
The CSV Export fails only yielding an internal server error page (500).
<ins>Fix</ins>
Export CSV in UTF-8 as opposed to ISO-8859-1.
PR [888](https://github.com/opf/openproject/pull/888)