Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025313Openbravo ERPA. Platformpublic2013-12-12 01:442014-04-03 12:34
caristu 
caristu 
highmajoralways
closedfixed 
5
pi 
3.0MP313.0MP31 
AugustoMauch
Core
No
0025313: Arabic fonts are not exported properly using the Export To Spreadsheet button
Arabic fonts are not exported properly using the Export To Spreadsheet button, instead of the arabic characters, ???? appears in the generated csv.
1) Go to any window in the ERP, for example Sales Invoice
2) Show the Description field in grid view
3) Create a new record, and in the Description field put some arabic text, for example: مرحبا
4) Click on the Export To Spreadsheet button in the toolbar.
Use the UTF-8 enconding in the response when generating the csv file (patch attached)
No tags attached.
related to defect 0026162 closed guillermogil CSV Text Encoding preference is not working 
diff issueExportArabic.diff (850) 2013-12-12 01:44
https://issues.openbravo.com/file_download.php?file_id=6566&type=bug
Issue History
2013-12-12 01:44caristuNew Issue
2013-12-12 01:44caristuAssigned To => AugustoMauch
2013-12-12 01:44caristuFile Added: issueExportArabic.diff
2013-12-12 01:44caristuModules => Core
2013-12-12 01:44caristuTriggers an Emergency Pack => No
2013-12-12 01:45caristuIssue Monitored: networkb
2013-12-13 11:42caristuAssigned ToAugustoMauch => caristu
2013-12-13 15:10hgbotCheckin
2013-12-13 15:10hgbotNote Added: 0062730
2013-12-13 15:10hgbotStatusnew => resolved
2013-12-13 15:10hgbotResolutionopen => fixed
2013-12-13 15:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2cc210f50c0553afa41cae1698b4cfedfa3fbf06 [^]
2013-12-19 12:31hudsonbotCheckin
2013-12-19 12:31hudsonbotNote Added: 0062851
2013-12-24 10:32AugustoMauchReview Assigned To => AugustoMauch
2013-12-24 10:32AugustoMauchNote Added: 0063059
2013-12-24 10:32AugustoMauchStatusresolved => closed
2013-12-24 10:32AugustoMauchFixed in Version => 3.0MP31
2014-04-03 12:26guillermogilRelationship addedrelated to 0026162
2014-04-03 12:34guillermogilNote Added: 0066122

Notes
(0062730)
hgbot   
2013-12-13 15:10   
Repository: erp/devel/pi
Changeset: 2cc210f50c0553afa41cae1698b4cfedfa3fbf06
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Dec 13 15:09:55 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2cc210f50c0553afa41cae1698b4cfedfa3fbf06 [^]

fixes issue 25313: Arabic fonts are not exported properly
using the Export To Spreadsheet button

---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
---
(0062851)
hudsonbot   
2013-12-19 12:31   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b878bb51dc09 [^]

Maturity status: Test
(0063059)
AugustoMauch   
2013-12-24 10:32   
Code reviewed and verified in pi@2cc210f50c05
(0066122)
guillermogil   
2014-04-03 12:34   
In order to export the csv with an specific encoding CSV Text Encoding preference must be configured properly.