DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15365>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15365 HSSFSerializer does not serialize documents encoded in windows-1250(and probably others) Summary: HSSFSerializer does not serialize documents encoded in windows-1250(and probably others) Product: Cocoon 2 Version: Current CVS Platform: Other OS/Version: All Status: NEW Severity: Normal Priority: Other Component: sitemap components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] HSSFSerializer does not serialize documents encoded in windows-1250(and probably others). This is caused by the fact that it uses POI ENCODING_COMPRESSED_UNICODE encoding for strings. ENCODING_COMPRESSED_UNICODE is 8bit encoding so one bit is lost for 16bit encodings . Quick fix is to set encoding to ENCODING_UTF_16 in method setContent(final String content) of org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Cell: 112 void setContent(final String content) 113 throws IOException 114 { 115 _cell.setEncoding(HSSFCell.ENCODING_UTF_16); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]