Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0009302 | Openbravo ERP | 01. General setup | public | 2009-06-02 18:26 | 2009-06-20 00:00 | |||||||||||||||||||||
Reporter | networkb | |||||||||||||||||||||||||
Assigned To | alostale | |||||||||||||||||||||||||
Priority | immediate | Severity | major | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 10 | OS Version | |||||||||||||||||||||||
Product Version | 2.40MP3 | |||||||||||||||||||||||||
Target Version | Fixed in Version | pi | ||||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | ||||||||||||||||||||||||||
OBNetwork customer | OBPS | |||||||||||||||||||||||||
Web browser | ||||||||||||||||||||||||||
Modules | Core | |||||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||||
Regression level | ||||||||||||||||||||||||||
Regression date | ||||||||||||||||||||||||||
Regression introduced in release | ||||||||||||||||||||||||||
Regression introduced by commit | ||||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0009302: The xml files created when a language is exported are not generated with utf-8 enconding when using window | |||||||||||||||||||||||||
Description | The xml files created when a language is exported are not generated with utf-8 enconding when using window. This causes an error if you want to use this files in another process, for example with xml2po utility | |||||||||||||||||||||||||
Steps To Reproduce | -Go to general setup>Import/Export languages and export a language. -Use the xml files generated at /path/AppsOpenbravo/attachments/lang/folder_of_the_language in another process for example in the xml2po utility -If you use the files in the xml2po utility with the following order you get an error: ant runXML2PO -DinpFold=/pathAppsOpenbravo/attachments/lang/es_ES -DoutFold=/path/output -The error is the following: org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence. | |||||||||||||||||||||||||
Proposed Solution | Modify the src/org/openbravo/erpCommon/ad_forms/Translation.java file replacing the following line OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream (out)); with this other. OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream (out), "UTF8"); It is because you have to indicate that you want to use utf-8 encoding. | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2009-06-02 18:26 | networkb | New Issue | ||||||||||||||||||||||||
2009-06-02 18:26 | networkb | Assigned To | => rafaroda | |||||||||||||||||||||||
2009-06-02 18:26 | networkb | OBNetwork customer | => Yes | |||||||||||||||||||||||
2009-06-03 08:34 | rafaroda | Note Added: 0016900 | ||||||||||||||||||||||||
2009-06-03 08:34 | rafaroda | Assigned To | rafaroda => alostale | |||||||||||||||||||||||
2009-06-03 08:35 | rafaroda | Status | new => scheduled | |||||||||||||||||||||||
2009-06-03 08:35 | rafaroda | fix_in_branch | => pi | |||||||||||||||||||||||
2009-06-04 15:18 | hgbot | Checkin | ||||||||||||||||||||||||
2009-06-04 15:18 | hgbot | Note Added: 0016951 | ||||||||||||||||||||||||
2009-06-04 15:18 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
2009-06-04 15:18 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2009-06-04 15:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9f3da007ec83ea769b47ecd33ed9166433abd1f9 [^] | |||||||||||||||||||||||
2009-06-16 10:18 | rafaroda | Relationship added | related to 0009486 | |||||||||||||||||||||||
2009-06-19 12:48 | sureshbabu | Status | resolved => closed | |||||||||||||||||||||||
2009-06-19 12:48 | sureshbabu | Note Added: 0017473 | ||||||||||||||||||||||||
2009-06-19 12:48 | sureshbabu | Fixed in Version | => pi | |||||||||||||||||||||||
2009-06-20 00:00 | anonymous | sf_bug_id | 0 => 2809272 | |||||||||||||||||||||||
2009-06-24 09:51 | rafaroda | Relationship added | related to 0009602 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|