dataExport in pdf does not support Chinese
-
- Posts: 2
- Joined: 12 Jul 2010, 04:50
If there is Chinese words in datatable,when I export the data in pdf, the Chinese words can't come up in the page. Who can solve this problem.Help!!!
Got the same problem. It seems the encoding attribute in dataExporter does not resolve this problem.
The source code I used looks like below:
<h:commandLink>
<p:graphicImage value="/images/pdf.png" />
<p:dataExporter type="pdf" target="tbl" fileName="cars" encoding="GBK"/>
</h:commandLink>
The source code I used looks like below:
<h:commandLink>
<p:graphicImage value="/images/pdf.png" />
<p:dataExporter type="pdf" target="tbl" fileName="cars" encoding="GBK"/>
</h:commandLink>
-
- Posts: 2
- Joined: 12 Jul 2010, 04:50
I add the attribute encoding="gbk",but the problem also does not solve. Help!!!
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 37 guests