<?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 coporate Statrep package with Chinese version SAS foundation? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/557426#M17062</link>
    <description>&lt;P&gt;I assumed that you can run unicode version of SAS, but it run against en_US locale. If so, the easist way to correct your issue is to change locale from en_US to zh_CN in nls/u8/sasv9.cfg (find -LOCALE en_US, then change en_US to zh_CN), which make sure all your outputs are in Chinese except your GUI. You also need to use the new attached utf-8 version of statrep_macros.sas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry I am not familiar with Latex, so I cannot confirm if my way works.&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2019 13:08:53 GMT</pubDate>
    <dc:creator>sbjwhl</dc:creator>
    <dc:date>2019-05-09T13:08:53Z</dc:date>
    <item>
      <title>How to coporate Statrep package with Chinese version SAS foundation?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/551298#M16920</link>
      <description>&lt;P&gt;I need to use Chinese version SAS to create Chinese SASplots and want to reproduce chinese plot using LAtex Statrep package.&lt;/P&gt;&lt;P&gt;However Statrep can only work when run with Unicode Version SAS.exe without chinese&amp;nbsp;zh\sasv9.cfg.&lt;/P&gt;&lt;P&gt;Do anyone know how to make statrep work with chinese version SAS?&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/app/papers/statrep.html" target="_blank" rel="noopener"&gt;http://support.sas.com/rnd/app/papers/statrep.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The quickstart_SR.sas can run correctly in SAS unicode edition but when in SAS chinese edition, it will look like the picture.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UU%OG46_F_J(}J([0X4}891.png" style="width: 388px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28715i504959A6453E3E75/image-size/large?v=v2&amp;amp;px=999" role="button" title="UU%OG46_F_J(&amp;amp;#125;J([0X4&amp;amp;#125;891.png" alt="UU%OG46_F_J(&amp;amp;#125;J([0X4&amp;amp;#125;891.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 06:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/551298#M16920</guid>
      <dc:creator>mengxibai6</dc:creator>
      <dc:date>2019-04-16T06:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to coporate Statrep package with Chinese version SAS foundation?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/552420#M16926</link>
      <description>&lt;P&gt;You will have to edit the write macro that comes with the package to incorporate the Chinese version of "Graph" or "Graphic" that it uses. Not all of SAS output should be translated. I suspect someone translated the graph type.&amp;nbsp; I don't have any access to SAS code since I retired to look into it myself, but I will pass this on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 11:35:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/552420#M16926</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2019-04-19T11:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to coporate Statrep package with Chinese version SAS foundation?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/556667#M17047</link>
      <description>&lt;P&gt;Just as Warren pointed out, your codes fail to run for the "Graph" has been translated. You need to modify&amp;nbsp;statrep_macros.sas to correct it, then run below code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options validvarname=any; /* enable to support variables with Chinese characters */&lt;BR /&gt;%inc "C:\Public\statrep\doc\quickstart_SR.sas";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to attached&amp;nbsp;statrep_macros.sas&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 05:24:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/556667#M17047</guid>
      <dc:creator>sbjwhl</dc:creator>
      <dc:date>2019-05-07T05:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to coporate Statrep package with Chinese version SAS foundation?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/557412#M17061</link>
      <description>&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;In order for it to fully work, Could you please help me again to make .lst file UTF8 by modifying macro file?&lt;/P&gt;&lt;P&gt;I cannot use&lt;FONT face="andale mono,times"&gt;&amp;nbsp;&lt;CODE&gt;&lt;SPAN class="kwd"&gt;\&lt;FONT face="arial,helvetica,sans-serif"&gt;UseRawInputEncoding for Latex , since chinese version latex need [UTF8]&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/FONT&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="1pture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29348i993C5D54C36D3A28/image-size/large?v=v2&amp;amp;px=999" role="button" title="1pture.PNG" alt="1pture.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="re.PNG" style="width: 599px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29349iF35990231BAB978E/image-size/large?v=v2&amp;amp;px=999" role="button" title="re.PNG" alt="re.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sadly, after I changed .lst file's unicode by hand, the page is still a litte off.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="C.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29350i8894BDEF619EDE8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="C.PNG" alt="C.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I believe it will be latex statrep package's problem.&lt;/P&gt;&lt;P&gt;If you could help with this problem too, I will be very appreciated.&lt;/P&gt;&lt;P&gt;But anyway, Thank so much for helping so far.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 12:01:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/557412#M17061</guid>
      <dc:creator>mengxibai6</dc:creator>
      <dc:date>2019-05-09T12:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to coporate Statrep package with Chinese version SAS foundation?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/557426#M17062</link>
      <description>&lt;P&gt;I assumed that you can run unicode version of SAS, but it run against en_US locale. If so, the easist way to correct your issue is to change locale from en_US to zh_CN in nls/u8/sasv9.cfg (find -LOCALE en_US, then change en_US to zh_CN), which make sure all your outputs are in Chinese except your GUI. You also need to use the new attached utf-8 version of statrep_macros.sas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry I am not familiar with Latex, so I cannot confirm if my way works.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 13:08:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/557426#M17062</guid>
      <dc:creator>sbjwhl</dc:creator>
      <dc:date>2019-05-09T13:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to coporate Statrep package with Chinese version SAS foundation?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/557721#M17068</link>
      <description>&lt;P&gt;Thank you so much for creating statrep package and helping.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is just one last problem that I have no idea how to solve.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The chinese .lst file look so awkward. and&amp;nbsp;I believe it need to do with statrep latex package.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me or point me to the right direction?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29401iD013CD2362B852B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="help.PNG" alt="help.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 10:29:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/557721#M17068</guid>
      <dc:creator>mengxibai6</dc:creator>
      <dc:date>2019-05-10T10:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to coporate Statrep package with Chinese version SAS foundation?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/557727#M17069</link>
      <description>&lt;P&gt;Thank you so much for helping. Unfortunately, SAS unicode(with chinese locale) will make my table display awkward character since there are chinese character in my original SAS program.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to put encoding="utf8 " in output lst (macro write file in statrep macro in order to make it work.&lt;/P&gt;&lt;P&gt;However it does not work. I do not know if it is due to I put encoding=utf at wrong place .&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It look like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename __f1 "&amp;amp;listingdir/_tmp" encoding="utf8";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 10:51:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/557727#M17069</guid>
      <dc:creator>mengxibai6</dc:creator>
      <dc:date>2019-05-10T10:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to coporate Statrep package with Chinese version SAS foundation?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/557751#M17072</link>
      <description>&lt;P&gt;You can run below code to change the default linesize.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc options option=ls;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try to change to linesize to a proper value, such as, 127 with below code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options ls=127;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 12:39:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-coporate-Statrep-package-with-Chinese-version-SAS/m-p/557751#M17072</guid>
      <dc:creator>sbjwhl</dc:creator>
      <dc:date>2019-05-10T12:39:43Z</dc:date>
    </item>
  </channel>
</rss>

