IDEMPIERE-2932 non latin - charset support for downloaded html files / based on hieplq's patch

This commit is contained in:
Carlos Ruiz 2015-11-11 10:45:31 -05:00
parent 7687494731
commit 447a497718
1 changed files with 1 additions and 0 deletions

View File

@ -801,6 +801,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
XhtmlDocument doc = new XhtmlDocument();
doc.getHtml().setNeedClosingTag(false);
doc.getBody().setNeedClosingTag(false);
doc.appendHead("<meta charset=\"UTF-8\" />");
doc.appendBody(table);
appendInlineCss (doc);
if (extension != null && extension.getStyleURL() != null)