Fixed
Details
Assignee
Hiep LqHiep LqReporter
Hiep LqHiep LqLabels
Components
Affects versions
Priority
Major
Details
Details
Assignee
Hiep Lq
Hiep LqReporter
Hiep Lq
Hiep LqLabels
Components
Affects versions
Priority
Created August 5, 2013 at 6:55 PM
Updated July 5, 2014 at 2:50 PM
Resolved April 16, 2014 at 3:29 PM
issue
when make a report with html format, some character is break.
other format as pdf, xls is not effect.
reason
In line 520 class org.compiere.print.ReportEngine
Writer fw = new OutputStreamWriter(new FileOutputStream(file, false), Ini.getCharset());
with above code. charset use to write file is charset of os. with my case it is "win-1252"
some character cann't convert from "utf-8" to "win-1252".
with pdf and xls report potential error as report ad ticket bellow
https://idempiere.atlassian.net/browse/IDEMPIERE-1213?filter=-2
for fix all error completely error, i think add encode utf-8 to outstream when write file.