<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: shubhamgarg</title>
    <description>The latest articles on DEV Community by shubhamgarg (@theguy_3998).</description>
    <link>https://dev.to/theguy_3998</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F853805%2Fc09e388a-f25b-486c-a494-b25293d1f309.jpg</url>
      <title>DEV Community: shubhamgarg</title>
      <link>https://dev.to/theguy_3998</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/theguy_3998"/>
    <language>en</language>
    <item>
      <title>Multi-language character support in Thymeleaf</title>
      <dc:creator>shubhamgarg</dc:creator>
      <pubDate>Tue, 26 Apr 2022 15:04:14 +0000</pubDate>
      <link>https://dev.to/theguy_3998/multi-language-character-support-in-thymeleaf-1coc</link>
      <guid>https://dev.to/theguy_3998/multi-language-character-support-in-thymeleaf-1coc</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html xmlns:th="http://www.thymeleaf.org"&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8"/&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;!--&amp;lt;body style="width: 900px; margin: 0 auto; color: #111; font-family: Arial Unicode MS; font-size: 12px;--&amp;gt;
&amp;lt;!--    line-height: normal; box-sizing: border-box;"&amp;gt;--&amp;gt;
&amp;lt;body style="font-family: Barlow"&amp;gt;

&amp;lt;div&amp;gt;
    Sample test text
    tiếng Việt
&amp;lt;/div&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;templateEngine.process("template.html", context);

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I am using this template.html file with Vietnamese text in it&lt;br&gt;
and trying to generate pdf from it by using Thymeleaf.TemplateEngine&lt;br&gt;
 but,&lt;br&gt;
text is comming like this in pdf&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Sample test text ti?ng Vi?t&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Vietnamese characters are not comming properly &lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
