<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: A problem about the utf-8 encoding environment of SAS VIYA in Developers</title>
    <link>https://communities.sas.com/t5/Developers/A-problem-about-the-utf-8-encoding-environment-of-SAS-VIYA/m-p/557784#M373</link>
    <description>hi, I'm not famaliar with the Postgres SQL db.But I use the "show server_encoding" and "show client_encoding", the result is all LATIN1.</description>
    <pubDate>Fri, 10 May 2019 14:31:42 GMT</pubDate>
    <dc:creator>david_wang</dc:creator>
    <dc:date>2019-05-10T14:31:42Z</dc:date>
    <item>
      <title>A problem about the utf-8 encoding environment of SAS VIYA</title>
      <link>https://communities.sas.com/t5/Developers/A-problem-about-the-utf-8-encoding-environment-of-SAS-VIYA/m-p/557782#M371</link>
      <description>&lt;P&gt;Hi, I'm new to SAS VIYA, and wanna help if anyone can.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my working SAS VIYA environment, a PostgreSQL database is connected but the encoding method of that db is LATIN1. So, when I caslib that postgres db and load some data-set into cas server,&amp;nbsp;any&amp;nbsp;fields that contain the Chinese value will display the&amp;nbsp;error&amp;nbsp;codes. I know absolutely the reason is the utf-8 encoding environment of SAS VIYA have some conflict with the original LATIN1 of that PostgreSQL db. &lt;STRONG&gt;But for some reason, I cannot modify the encoding environment of PostgreSQL&amp;nbsp;db into utf-8.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AS a solution may not be so good,&lt;/STRONG&gt; I find a way to change the Chinese contents of the table in PostgreSQL db into hex, just like from "中" to "\xD6D0". And to my surprise, the contents of "\xD6D0" load into CAS server unchanged. Thus, my question here is how can I get the original "中"&amp;nbsp;by&amp;nbsp;coverting the "\xD6D0" in SAS VIYA. If it is likely to do so, the problem above might be solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or suggestion are welcome! Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 14:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/A-problem-about-the-utf-8-encoding-environment-of-SAS-VIYA/m-p/557782#M371</guid>
      <dc:creator>david_wang</dc:creator>
      <dc:date>2019-05-10T14:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: A problem about the utf-8 encoding environment of SAS VIYA</title>
      <link>https://communities.sas.com/t5/Developers/A-problem-about-the-utf-8-encoding-environment-of-SAS-VIYA/m-p/557783#M372</link>
      <description>&lt;P&gt;I don't understand. How did the Chinese characters get into the PostgreSQL database if it is using LATIN1 encoding?&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 14:28:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/A-problem-about-the-utf-8-encoding-environment-of-SAS-VIYA/m-p/557783#M372</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-05-10T14:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: A problem about the utf-8 encoding environment of SAS VIYA</title>
      <link>https://communities.sas.com/t5/Developers/A-problem-about-the-utf-8-encoding-environment-of-SAS-VIYA/m-p/557784#M373</link>
      <description>hi, I'm not famaliar with the Postgres SQL db.But I use the "show server_encoding" and "show client_encoding", the result is all LATIN1.</description>
      <pubDate>Fri, 10 May 2019 14:31:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/A-problem-about-the-utf-8-encoding-environment-of-SAS-VIYA/m-p/557784#M373</guid>
      <dc:creator>david_wang</dc:creator>
      <dc:date>2019-05-10T14:31:42Z</dc:date>
    </item>
  </channel>
</rss>

