IDEMPIERE-2932 non latin - charset support for downloaded html files / based on hieplq's patch
This commit is contained in:
parent
7687494731
commit
447a497718
|
@ -801,6 +801,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
|
||||||
XhtmlDocument doc = new XhtmlDocument();
|
XhtmlDocument doc = new XhtmlDocument();
|
||||||
doc.getHtml().setNeedClosingTag(false);
|
doc.getHtml().setNeedClosingTag(false);
|
||||||
doc.getBody().setNeedClosingTag(false);
|
doc.getBody().setNeedClosingTag(false);
|
||||||
|
doc.appendHead("<meta charset=\"UTF-8\" />");
|
||||||
doc.appendBody(table);
|
doc.appendBody(table);
|
||||||
appendInlineCss (doc);
|
appendInlineCss (doc);
|
||||||
if (extension != null && extension.getStyleURL() != null)
|
if (extension != null && extension.getStyleURL() != null)
|
||||||
|
|
Loading…
Reference in New Issue