Integrate Trifon's change from trunk revision 5700

Buf Fix: [ 2017673 ] Export Report as Excel - Bad Encoding
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2017673&group_id=176962
This commit is contained in:
Carlos Ruiz 2008-07-29 07:24:04 +00:00
parent 72e2b98eb9
commit 2be812419a
1 changed files with 2 additions and 0 deletions

View File

@ -329,6 +329,8 @@ public abstract class AbstractExcelExporter
if (isColumnPrinted(col))
{
HSSFCell cell = row.createCell(colnum);
cell.setEncoding(HSSFCell.ENCODING_UTF_16); // Bug-2017673 - Export Report as Excel - Bad Encoding
// line row
Object obj = getValueAt(rownum, col);
int displayType = getDisplayType(rownum, col);