<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: PDF Generated File does not support Chinese</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: PDF Generated File does not support Chinese</description>
<language>en</language>
<pubDate>Mon, 18 May 2026 12:21:13 +0000</pubDate>

<item>
<title>szzyp on "PDF Generated File does not support Chinese"</title>
<link>https://www.machform.com/forums/topic/pdf-generated-file-does-not-support-chinese#post-24373</link>
<pubDate>Tue, 17 Nov 2015 12:19:12 +0000</pubDate>
<dc:creator>szzyp</dc:creator>
<guid isPermaLink="false">24373@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Both methods did not solve this issue. Chinese char is showing like a box.&#60;/p&#62;
&#60;p&#62;Here is a line of Chinese in case you would like to test it -&#60;br /&#62;
你好这是测试的中文&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "PDF Generated File does not support Chinese"</title>
<link>https://www.machform.com/forums/topic/pdf-generated-file-does-not-support-chinese#post-24361</link>
<pubDate>Sun, 15 Nov 2015 07:32:42 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">24361@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;The PDF should be able to display Chinese characters or any other UTF-8 characters.&#60;/p&#62;
&#60;p&#62;If your machform can't generate the correct PDF, try these:&#60;/p&#62;
&#60;p&#62;1) reupload the content of your &#34;/machform/lib/dompdf/lib/fonts&#34; folder from the original package. This folder contain the necessary fonts to display Chinese characters&#60;/p&#62;
&#60;p&#62;2) if the above doesn't solve the issue, edit your &#34;machform/includes/helper-functions.php&#34; file, search for this code around line 3751:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(strpos($entry_details_json, &#38;#39;\u&#38;#39;) !== false){
	$content_font_family = &#38;#39;dejavu sans,Lucida Grande,Tahoma,Arial,Verdana,sans-serif&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;remove the first and last line, to be like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$content_font_family = &#38;#39;dejavu sans,Lucida Grande,Tahoma,Arial,Verdana,sans-serif&#38;#39;;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>szzyp on "PDF Generated File does not support Chinese"</title>
<link>https://www.machform.com/forums/topic/pdf-generated-file-does-not-support-chinese#post-24355</link>
<pubDate>Sun, 15 Nov 2015 04:03:08 +0000</pubDate>
<dc:creator>szzyp</dc:creator>
<guid isPermaLink="false">24355@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;bring this up again as 4.6 did not solve this
&#60;/p&#62;</description>
</item>
<item>
<title>szzyp on "PDF Generated File does not support Chinese"</title>
<link>https://www.machform.com/forums/topic/pdf-generated-file-does-not-support-chinese#post-24117</link>
<pubDate>Fri, 25 Sep 2015 04:34:11 +0000</pubDate>
<dc:creator>szzyp</dc:creator>
<guid isPermaLink="false">24117@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hello&#60;/p&#62;
&#60;p&#62;I found the PDF cannot show any Chinese characters.. Please solve this issue!&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Yipeng
&#60;/p&#62;</description>
</item>

</channel>
</rss>
