incorrect header encoding when exporting using DefaultHssfExportView
--------------------------------------------------------------------
Key: DISPL-347
URL: http://jira.codehaus.org/browse/DISPL-347
Project: DisplayTag
Type: Bug
Components: Export
Versions: 1.1
Reporter: Dureek Wu
Priority: Minor
code snippet in
"displaytag-1.1\displaytag-export-poi\src\main\java\org\displaytag\render\HssfTableWriter.java"
--
...
/**
* Writes a table header or a footer.
* @param value Header or footer value to be rendered.
* @param row The row in which to write the header or footer.
* @param style Style used to render the header or footer.
*/
private void writeHeaderFooter(String value, HSSFRow row, HSSFCellStyle
style)
{
this.currentCell = row.createCell((short) this.colNum++);
this.currentCell.setEncoding(HSSFCell.ENCODING_UTF_16); // fixed
this.currentCell.setCellValue(value);
this.currentCell.setCellStyle(style);
// BUG: this.currentCell.setEncoding(HSSFCell.ENCODING_UTF_16);
}
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel