<?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: How to import Simplified Chinese rtf files into SAS? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-Simplified-Chinese-rtf-files-into-SAS/m-p/513003#M138205</link>
    <description>&lt;P&gt;Since RTF is not intended for data interchange I wish you lots of luck with this project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would recommend to try saving the file to plain text format so most of the RTF code tags go away. That might make reading the file a lot simplier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you mean by "&lt;SPAN&gt;simplified Chinese word&lt;/SPAN&gt;"?&lt;/P&gt;</description>
    <pubDate>Wed, 14 Nov 2018 16:32:25 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-11-14T16:32:25Z</dc:date>
    <item>
      <title>How to import Simplified Chinese rtf files into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-Simplified-Chinese-rtf-files-into-SAS/m-p/512826#M138144</link>
      <description>&lt;P&gt;I tried to import &amp;nbsp;Simplified Chinese rtf files with following code, but the all simplified Chinese word will become like below.&lt;/P&gt;&lt;P&gt;Is there any method that I could get the&amp;nbsp;&lt;SPAN&gt;simplified Chinese word?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename rtf "xxxxxxxxxxxxxxxxxx\&amp;amp;output..rtf";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data rtf_input;&lt;BR /&gt;infile&amp;nbsp;rtf&lt;BR /&gt;delimiter='00'x MISSOVER DSD lrecl=32767&lt;BR /&gt;firstobs=1;&lt;BR /&gt;format f1 $500.;&lt;/P&gt;&lt;P&gt;input&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;f1 $ ;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24880i3D0D397C992EEE90/image-size/large?v=v2&amp;amp;px=999" role="button" title="sas.png" alt="sas.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 03:19:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-Simplified-Chinese-rtf-files-into-SAS/m-p/512826#M138144</guid>
      <dc:creator>joycehyj1109</dc:creator>
      <dc:date>2018-11-14T03:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to import Simplified Chinese rtf files into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-Simplified-Chinese-rtf-files-into-SAS/m-p/513003#M138205</link>
      <description>&lt;P&gt;Since RTF is not intended for data interchange I wish you lots of luck with this project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would recommend to try saving the file to plain text format so most of the RTF code tags go away. That might make reading the file a lot simplier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you mean by "&lt;SPAN&gt;simplified Chinese word&lt;/SPAN&gt;"?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 16:32:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-Simplified-Chinese-rtf-files-into-SAS/m-p/513003#M138205</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-11-14T16:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to import Simplified Chinese rtf files into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-Simplified-Chinese-rtf-files-into-SAS/m-p/513073#M138214</link>
      <description>&lt;P&gt;I am totally unfamiliar with these issues, so this question might be wholly naïve: have you set session encoding, and filename encoding?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See &lt;A href="https://support.sas.com/kb/16/355.html" target="_self"&gt;16355 - Does SAS support UTF-16 encoding?&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 19:49:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-Simplified-Chinese-rtf-files-into-SAS/m-p/513073#M138214</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-11-14T19:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to import Simplified Chinese rtf files into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-Simplified-Chinese-rtf-files-into-SAS/m-p/513149#M138239</link>
      <description>&lt;P&gt;I looked at the third character 分 (the easiest to identify to my western eyes).&lt;/P&gt;
&lt;P&gt;According to &lt;A href="https://www.yellowbridge.com/chinese/charsearch.php?zi=%E5%88%86" target="_blank"&gt;https://www.yellowbridge.com/chinese/charsearch.php?zi=%E5%88%86&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The document seems to use&amp;nbsp;gb2312 encoding.&lt;/P&gt;
&lt;P&gt;I am unsure that SAS supports it.&amp;nbsp;If not, you'll have to transcode to UTF (and use a UTF SAS session).&lt;/P&gt;
&lt;P&gt;So&amp;nbsp;you'll have to read the value B7D6 and transform it to&amp;nbsp;&lt;SPAN&gt;U+5206.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 23:32:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-Simplified-Chinese-rtf-files-into-SAS/m-p/513149#M138239</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-11-14T23:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to import Simplified Chinese rtf files into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-Simplified-Chinese-rtf-files-into-SAS/m-p/821400#M324289</link>
      <description>&lt;P&gt;you'll have to read the value B7D6 and transform it to U+5206. As you mention,how could I&amp;nbsp;transform B7D6 to&amp;nbsp;U+5206?&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2022 03:11:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-Simplified-Chinese-rtf-files-into-SAS/m-p/821400#M324289</guid>
      <dc:creator>woshibug</dc:creator>
      <dc:date>2022-07-03T03:11:11Z</dc:date>
    </item>
  </channel>
</rss>

