| Issue 170: | There are no need for escapeHtml in HtmlCellEditor | |
| 1 person starred this issue and may be notified of changes. | Back to list |
if you set the right encoding of contentType,there are no need for escapeHtml in HtmlCellEditor
Dec 22, 2008
Project Member
#1
jeff.johnston.mn@gmail.com
Jan 25, 2009
(No comment was entered for this change.)
Status:
Invalid
Nov 30, 2009
Hi, almost a year after this issue was closed I would like to add a comment. I was using jMesa 2.3.4 and when I started a new project I moved to jMesa 2.4.5 As always, people like me with non-English applications have much more problems when dealing with charset, encodings and anything related. In this case, the new problem that I faced is related to this issue. If the default HtmlCellEditor is used, it escapes all my accents (áéíóú) to á,í ,... That's not problem with the browser, but with the PDF export it is. I don't know why, but it doesn't understand those escaped chars (even if it's standard HTML) so the PDF ends showing lot of "acute" everywhere. I know that must be an iText issue, not jMesa, and as long as PDFP is too ugly, hehe, this can be fixed like Jeff said: htmlColumn.getCellRenderer().setCellEditor(new BasicCellEditor()); for all columns. I hope this can help people like me with our different charsets or encodings. htmlColumn.getCellRenderer().setCellEditor(new BasicCellEditor()); |