<?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 PROC SGPLOT (or any other SG PROC) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823930#M325370</link>
    <description>&lt;P&gt;Hello Paige,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For me it works if I use the "(*ESC*)" notation instead of the ODS ESCAPECHAR in the PROC FORMAT step&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;value weightf 0-59='&amp;lt;60'  60-high="(*ESC*){Unicode '2265'x}60";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;did three days ago in &lt;A href="https://communities.sas.com/t5/SAS-Programming/Subscript-in-axis-label-for-SGPLOT-showing-as-boxes/m-p/823505/highlight/true#M325158" target="_blank" rel="noopener"&gt;another thread&lt;/A&gt; -- credit to him).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2022 18:28:56 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2022-07-18T18:28:56Z</dc:date>
    <item>
      <title>Using Unicode Characters in PROC SGPLOT (or any other SG PROC)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823908#M325357</link>
      <description>&lt;P&gt;Suppose I want to use UNICODE characters in PROC SGPLOT. Can it be done?? My initial attempts to do so failed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example: Unicode 2265 (greater than or equal to) shows up properly in PROC PRINT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar='~';
proc format;
    value weightf 0-59='&amp;lt;60'  60-high='~{unicode 2265}60';
run;
proc print data=sashelp.class;
    id name;
    var weight;
    format weight weightf.;
run;&lt;/CODE&gt;&lt;/PRE&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="PaigeMiller_0-1658165772236.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73422iC53044488BCEF438/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaigeMiller_0-1658165772236.png" alt="PaigeMiller_0-1658165772236.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but now PROC SGPLOT doesn't show the greater than or equal to sign. Can it be done? If so, how?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.class;
    vbar weight/response=height;
    format weight weightf.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaigeMiller_1-1658165831955.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73423i269C5F855930BF35/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaigeMiller_1-1658165831955.png" alt="PaigeMiller_1-1658165831955.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 17:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823908#M325357</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-18T17:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unicode Characters in PROC SGPLOT (or any other SG PROC)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823909#M325358</link>
      <description>This will work if instead of formatting existing variable you create a new categorical variable with values "&amp;lt;60" and "&amp;gt;=60".</description>
      <pubDate>Mon, 18 Jul 2022 17:44:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823909#M325358</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2022-07-18T17:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unicode Characters in PROC SGPLOT (or any other SG PROC)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823912#M325361</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/235176"&gt;@pink_poodle&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;This will work if instead of formatting existing variable you create a new categorical variable with values "&amp;lt;60" and "&amp;gt;=60".&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not seeing it, still not working, unless I'm still doing something wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar='~';
proc format;
    value weightf 0-59='&amp;lt;60'  60-high='~{unicode 2265}60';
run;
data class;
    set sashelp.class;
    weight1=vvalue(weight);
    format weight weightf.; 
run;
proc sgplot data=class;
    vbar weight1/response=height;
run;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 17:54:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823912#M325361</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-18T17:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unicode Characters in PROC SGPLOT (or any other SG PROC)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823917#M325363</link>
      <description>&lt;P&gt;You can run SAS (Unicode Support) using icon or startup option&lt;/P&gt;
&lt;PRE&gt;-CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\u8\sasv9.cfg"&lt;/PRE&gt;
&lt;P&gt;In your code paste the special symbol (≥) directly.&amp;nbsp; SGPLOT will honor the special character in the source code.&lt;/P&gt;
&lt;PRE&gt;ods graphics / width=300px;

proc format;
    value weightf 0-59='&amp;lt; 60'  60-high='≥ 60';    
run;
proc print data=sashelp.class;
    id name;
    var weight;
    format weight weightf.;
run;
proc sgplot data=sashelp.class;
    vbar weight / response=height;
    format weight weightf.;
run;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichardADeVenezia_0-1658167501498.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73425i1334103370537AE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichardADeVenezia_0-1658167501498.png" alt="RichardADeVenezia_0-1658167501498.png" /&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 18:05:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823917#M325363</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2022-07-18T18:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unicode Characters in PROC SGPLOT (or any other SG PROC)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823919#M325365</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12477"&gt;@RichardDeVen&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;You can run SAS (Unicode Support) using icon or startup option&lt;/P&gt;
&lt;PRE&gt;-CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\u8\sasv9.cfg"&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Please explain what this means.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;In your code paste the special symbol (≥) directly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please explain how to do this. (And please explain how to do this with other unicode characters that I might want to use some day).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 18:08:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823919#M325365</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-18T18:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unicode Characters in PROC SGPLOT (or any other SG PROC)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823920#M325366</link>
      <description>&lt;P&gt;data cat;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set sashelp.class;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if weight &amp;gt;= 60 then wcat = "&amp;gt;=60";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if not missing(weight) and weight &amp;lt; 60 then wcat = "&amp;lt;60";&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc sgplot data=cat;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vbar wcat / response=height;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 18:14:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823920#M325366</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2022-07-18T18:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unicode Characters in PROC SGPLOT (or any other SG PROC)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823923#M325367</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if weight &amp;gt;= 60 then wcat = '&amp;gt;=60';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is not what I wanted. I want one character which is the greater than or equal symbol; it is not the two characters you typed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 18:14:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823923#M325367</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-18T18:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unicode Characters in PROC SGPLOT (or any other SG PROC)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823930#M325370</link>
      <description>&lt;P&gt;Hello Paige,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For me it works if I use the "(*ESC*)" notation instead of the ODS ESCAPECHAR in the PROC FORMAT step&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;value weightf 0-59='&amp;lt;60'  60-high="(*ESC*){Unicode '2265'x}60";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;did three days ago in &lt;A href="https://communities.sas.com/t5/SAS-Programming/Subscript-in-axis-label-for-SGPLOT-showing-as-boxes/m-p/823505/highlight/true#M325158" target="_blank" rel="noopener"&gt;another thread&lt;/A&gt; -- credit to him).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 18:28:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823930#M325370</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-07-18T18:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unicode Characters in PROC SGPLOT (or any other SG PROC)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823931#M325371</link>
      <description>&lt;P&gt;In Windows 10 in the Start menu scroll down to the S group open the SAS folder and see the SAS 9.4 (Unicode Support) icon&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichardADeVenezia_0-1658168451065.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73427i0D30A43AA027B713/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichardADeVenezia_0-1658168451065.png" alt="RichardADeVenezia_0-1658168451065.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The icon is a shortcut to the command that runs SAS in Unicode mode&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\u8\sasv9.cfg"
&lt;/PRE&gt;
&lt;P&gt;Note: Use the right mouse button to pin the icon to the Windows Start Menu or Task bar. You can also use the Windows search bar and type "Unicode Support" to find the icon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use a website such as &lt;A href="https://unicode-table.com" target="_self"&gt;https://unicode-table.com&lt;/A&gt;&amp;nbsp;to find the Unicode characters I want to Copy and Paste into my SAS editor, or text files (Notepad++)&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 18:31:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823931#M325371</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2022-07-18T18:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unicode Characters in PROC SGPLOT (or any other SG PROC)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823954#M325376</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello Paige,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For me it works if I use the "(*ESC*)" notation instead of the ODS ESCAPECHAR in the PROC FORMAT step&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;value weightf 0-59='&amp;lt;60'  60-high="(*ESC*){Unicode '2265'x}60";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;did three days ago in &lt;A href="https://communities.sas.com/t5/SAS-Programming/Subscript-in-axis-label-for-SGPLOT-showing-as-boxes/m-p/823505/highlight/true#M325158" target="_blank" rel="noopener"&gt;another thread&lt;/A&gt; -- credit to him).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This works! Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 19:20:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823954#M325376</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-18T19:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unicode Characters in PROC SGPLOT (or any other SG PROC)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823956#M325377</link>
      <description>&lt;P&gt;Thank you for the explanation&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12477"&gt;@RichardDeVen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I always have used the SAS 9.4 (English) with a custom autoexec, what is different if I use SAS 9.4 (Unicode)? What do I gain or lose?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 19:38:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-Unicode-Characters-in-PROC-SGPLOT-or-any-other-SG-PROC/m-p/823956#M325377</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-18T19:38:43Z</dc:date>
    </item>
  </channel>
</rss>

