<?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: Using unicode characters in data values in Proc Report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282984#M16305</link>
    <description>&lt;P&gt;I read the white paper and while it gave me good background information, there wasn't enough detail for me to figure out what to do.&amp;nbsp; Here's a sample code snippet that doesn't work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data pcts;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; client=1; pctype=1; pct=65; output;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc report data=pcts nowd;&lt;BR /&gt;column client weeman;&lt;/P&gt;
&lt;P&gt;define client /display;&lt;BR /&gt;define weeman / computed;&lt;/P&gt;
&lt;P&gt;compute weeman / character length=10;&lt;BR /&gt;&amp;nbsp;* SymbolA '1F6B9'x;&lt;BR /&gt;&amp;nbsp; weeman='01f6b9'x;&lt;BR /&gt;&amp;nbsp; call define('weeman','style','style={fontfamily=SymbolA}');&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like the 'weeman' variable to display the actual SymbolA unicode font value represented by '1f6b9'x.&amp;nbsp; SAS wanted me to put the 0 in front of the hex string.&amp;nbsp;&amp;nbsp; Am still missing something basic here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2016 15:07:52 GMT</pubDate>
    <dc:creator>BenConner</dc:creator>
    <dc:date>2016-07-08T15:07:52Z</dc:date>
    <item>
      <title>Using unicode characters in data values in Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282953#M16302</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to be able to assign a unicode character value (SymbolA '1F6B9'x) to a computed&amp;nbsp;variable in Proc Report. Can someone point me to where that is covered in the documentation?&amp;nbsp; Haven't had much success so far.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 13:25:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282953#M16302</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2016-07-08T13:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using unicode characters in data values in Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282958#M16303</link>
      <description>&lt;P&gt;Hi Ben,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a nice tech paper called "&lt;A href="https://support.sas.com/resources/papers/Multilingual_Computing_with_SAS_94.pdf" target="_blank"&gt;Multilingual Computing with SAS 9.4&lt;/A&gt;" that you may find informative.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also there are some install-time choices where SAS is either installed as single-byte or multi-byte. Depending on the type of deployemnt you have, ranging from local SAS to a remote server access via Enterprise Guide, the technical implications will vary.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 13:33:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282958#M16303</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2016-07-08T13:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using unicode characters in data values in Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282960#M16304</link>
      <description>&lt;P&gt;Thanks so much for the reference!&amp;nbsp; While I didn't do the install and am guessing, I'm willing to bet it was a single-byte installation, so will have to tweak it a bit.&amp;nbsp; The good news is I don't have to carry these in to the proc report step as incoming data values so that simplifies it a bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 13:45:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282960#M16304</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2016-07-08T13:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using unicode characters in data values in Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282984#M16305</link>
      <description>&lt;P&gt;I read the white paper and while it gave me good background information, there wasn't enough detail for me to figure out what to do.&amp;nbsp; Here's a sample code snippet that doesn't work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data pcts;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; client=1; pctype=1; pct=65; output;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc report data=pcts nowd;&lt;BR /&gt;column client weeman;&lt;/P&gt;
&lt;P&gt;define client /display;&lt;BR /&gt;define weeman / computed;&lt;/P&gt;
&lt;P&gt;compute weeman / character length=10;&lt;BR /&gt;&amp;nbsp;* SymbolA '1F6B9'x;&lt;BR /&gt;&amp;nbsp; weeman='01f6b9'x;&lt;BR /&gt;&amp;nbsp; call define('weeman','style','style={fontfamily=SymbolA}');&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like the 'weeman' variable to display the actual SymbolA unicode font value represented by '1f6b9'x.&amp;nbsp; SAS wanted me to put the 0 in front of the hex string.&amp;nbsp;&amp;nbsp; Am still missing something basic here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 15:07:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282984#M16305</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2016-07-08T15:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using unicode characters in data values in Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282986#M16307</link>
      <description>Hi:&lt;BR /&gt;  I do not have the SymbolA font, so I can't run a test. If you look at Arial Unicode MS font  is there an equivalent symbol???&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Fri, 08 Jul 2016 15:11:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282986#M16307</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-07-08T15:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using unicode characters in data values in Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282989#M16308</link>
      <description>&lt;P&gt;Ah.&amp;nbsp; Found it.&amp;nbsp; Needed the ODS escapechar= parm and to define weeman as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;weeman='^{unicode "1f6b9"x}';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 15:14:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282989#M16308</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2016-07-08T15:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using unicode characters in data values in Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282992#M16309</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I found it. With Arial Unicode MS, it is the same Unicode value. I used the UNICODE function of ODS ESCAPECHAR:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3970i32554A68BF2BFA23/image-size/original?v=v2&amp;amp;px=-1" alt="weeman.png" title="weeman.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar='^';
proc report data=pcts nowd;
column client weeman;

define client /display;
define weeman / computed;

compute weeman / character length=50;
 * SymbolA '1F6B9'x;
  weeman='^{unicode 1f6b9}';
  call define(_col_,'style','style={font_face="Arial Unicode MS" font_size=24pt}');
endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 15:21:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/282992#M16309</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-07-08T15:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using unicode characters in data values in Proc Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/283482#M16319</link>
      <description>&lt;P&gt;Thanks, Cynthia!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a good example of taking a graphic image that originally was coded as a series of Drawtext and Drawrectangle GTL statements and converting it to a simpler Proc Report.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The original approach actually had 10 of these images plus some additional text information.&amp;nbsp; While I don't have an issue with GTL, drawtext statements do not recognize dynamic variables and as a result the SGRender proc can't take advantage of a BY statement when you have a lot of these to generate.&amp;nbsp; By finding a Proc Report solution, they can be created with one execution of Proc Report and the output directed to a Document Store, and the final output assembled later as needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Much appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 14:24:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-characters-in-data-values-in-Proc-Report/m-p/283482#M16319</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2016-07-11T14:24:40Z</dc:date>
    </item>
  </channel>
</rss>

