<?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: Unicode character will not display in sgplot output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896217#M354108</link>
    <description>For open source unicode font information see: &lt;A href="https://en.wikipedia.org/wiki/Open-source_Unicode_typefaces" target="_blank"&gt;https://en.wikipedia.org/wiki/Open-source_Unicode_typefaces&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For more background information read: &lt;A href="https://stackoverflow.com/questions/34732718/why-isnt-there-a-font-that-contains-all-unicode-glyphs" target="_blank"&gt;https://stackoverflow.com/questions/34732718/why-isnt-there-a-font-that-contains-all-unicode-glyphs&lt;/A&gt;</description>
    <pubDate>Thu, 28 Sep 2023 09:38:57 GMT</pubDate>
    <dc:creator>JosvanderVelden</dc:creator>
    <dc:date>2023-09-28T09:38:57Z</dc:date>
    <item>
      <title>Unicode character will not display in sgplot output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896143#M354071</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I need to have unicode character 3251 (circled number 21) appear as a symbol on a graph in sgplot.&lt;/P&gt;
&lt;P&gt;However, an open square appears on the graph instead of the circled 21 when I create the graph.&lt;/P&gt;
&lt;P&gt;It appears that this is happening because the font I am using does not support that unicode character.&lt;/P&gt;
&lt;P&gt;I tried sevral different fonts and nothing worked.&lt;/P&gt;
&lt;P&gt;Is there a specific font that I need to use for this, or are ther any other solutions?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 19:16:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896143#M354071</guid>
      <dc:creator>fastb</dc:creator>
      <dc:date>2023-09-27T19:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode character will not display in sgplot output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896154#M354079</link>
      <description>&lt;P&gt;Where is it supposed to appear? Title text, axis label, axis tickmark label, data label in the body of the graph?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Show the actual code and/or value of the variable that you are using.&lt;/P&gt;
&lt;P&gt;Depending on your current SAS session settings and where you want to use the value you may have to have a value like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(*ESC*){unicode &amp;lt;codevalue&amp;gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which sometimes means creating a new variable that is longer to hold all those characters and may require the value to be in hex notation such as {unicode '03B2'x} which is the greek letter beta&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 19:47:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896154#M354079</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-27T19:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode character will not display in sgplot output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896178#M354088</link>
      <description>&lt;P&gt;Hi ballardw,&lt;/P&gt;
&lt;P&gt;The characters need to appear as marker symbols in the body of the graph.&lt;/P&gt;
&lt;P&gt;Below is the code where I used symbolchar to create the each symbol with the unicode character.&lt;/P&gt;
&lt;P&gt;This works fine for the symbols with numbers 1 through 20.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, starting with 21 it is a different charcater code set and everything 21 and above does not work.&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;PROC SGPLOT DATA = map_coordinates noborder nowall NOAUTOLEGEND NOCYCLEATTRS sganno = annoImage;&lt;BR /&gt;TITLE;&lt;BR /&gt;YAXIS grid gridattrs = (color = black) display = (noline nolabel noticks novalues) values=(0 to 100 by 5);&lt;BR /&gt;XAXIS grid gridattrs = (color = black) display =(noline nolabel noticks novalues) values=(0 to 100 by 5);&lt;BR /&gt;symbolchar name=one char='2460'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=two char='2461'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=three char='2462'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=four char='2463'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=five char='2464'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=six char='2465'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=seven char='2466'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=eight char='2467'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=nine char='2468'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=ten char='2469'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=eleven char='246A'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=twelve char='246B'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=thirteen char='246C'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=fourteen char='246D'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=fifteen char='246E'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=sixteen char='246F'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=seventeen char='2470'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=eighteen char='2471'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=nineteen char='2472'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=twenty char='2473'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=twentyone char='3251'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=twentytwo char='3252'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=twentytheree char='3253'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=twentyfour char='3254'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=twentyfive char='3255'x / textattrs = (weight = bold);&lt;BR /&gt;symbolchar name=twentysix char='3256'x / textattrs = (weight = bold);&lt;BR /&gt;styleattrs datasymbols = (&lt;BR /&gt;one&lt;BR /&gt;two&lt;BR /&gt;three&lt;BR /&gt;four&lt;BR /&gt;five&lt;BR /&gt;six&lt;BR /&gt;seven&lt;BR /&gt;eight&lt;BR /&gt;nine&lt;BR /&gt;ten&lt;BR /&gt;eleven&lt;BR /&gt;twelve&lt;BR /&gt;thirteen&lt;BR /&gt;fourteen&lt;BR /&gt;fifteen&lt;BR /&gt;sixteen&lt;BR /&gt;seventeen&lt;BR /&gt;eighteen&lt;BR /&gt;nineteen&lt;BR /&gt;twenty&lt;BR /&gt;twentyone&lt;BR /&gt;twentytwo&lt;BR /&gt;twentythree&lt;BR /&gt;twentyfour&lt;BR /&gt;twentyfive&lt;BR /&gt;twentysix&lt;BR /&gt;);&lt;/P&gt;
&lt;P&gt;SCATTER x = X_Coordinate y = Y_Coordinate/&lt;BR /&gt;markerattrs = (size = 16) group = site_number nomissinggroup name = 'sites';&lt;BR /&gt;yaxis min=0 max=100 /*grid values=(0 to 100 by 5)*/ offsetmin=0 offsetmax=0 display= none;&lt;BR /&gt;xaxis min=0 max=100 /*grid values=(0 to 100 by 5)*/ offsetmin=0 offsetmax=0 display=none;&lt;BR /&gt;run; quit; ods listing close;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 02:29:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896178#M354088</guid>
      <dc:creator>fastb</dc:creator>
      <dc:date>2023-09-28T02:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode character will not display in sgplot output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896206#M354105</link>
      <description>&lt;P&gt;I think you are running into this from the Symbolchar statement online help:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV class="xis-eDocBody"&gt;
&lt;DIV class="xis-refDictEntry"&gt;
&lt;DIV class="xis-syntax"&gt;
&lt;DIV class="xis-syntaxDescription"&gt;
&lt;DIV class="xis-requiredArgGroup"&gt;
&lt;DIV id="n0axsq2svv8kkfn16mbj8oi0hol0" class="xis-argDescriptionPair"&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;TABLE class="xis-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-summaryTip"&gt;Tip&lt;/TD&gt;
&lt;TD class="xis-summaryText"&gt;This statement attempts to access the specified Unicode value in the current font. Some fonts do not support accessing characters by using their Unicode value. Other fonts support only a limited set of Unicode values. If the Unicode value is not accessible, then this statement might be ignored or a nonprintable character might be substituted.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I had the same result you do with all of the fonts I tried so it may be that many font "designers" don't see a need for the circle numbers past 20.&lt;/P&gt;
&lt;P&gt;If you find something where it resolves properly try using that Font in a TEXTATTRS with the Family option. Since fonts aren't the same across installations I am not sure which to suggest.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 08:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896206#M354105</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-28T08:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode character will not display in sgplot output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896212#M354107</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*Here is a workaround way.*/
data have;
 set sashelp.class;
if age&amp;lt;14 then char='21';
 else if age&amp;lt;15 then char='22';
  else char='23';
run;

proc sgplot data=have nocycleattrs noautolegend;
scatter x=weight y=height/ markerattrs=(symbol=circle size=20) group=char;
scatter x=weight y=height/markerchar=char markercharattrs=(size=10) labelstrip group=char ;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1695892227625.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88395i9DC91D620FCEAD8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1695892227625.png" alt="Ksharp_0-1695892227625.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>Thu, 28 Sep 2023 09:09:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896212#M354107</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-09-28T09:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode character will not display in sgplot output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896217#M354108</link>
      <description>For open source unicode font information see: &lt;A href="https://en.wikipedia.org/wiki/Open-source_Unicode_typefaces" target="_blank"&gt;https://en.wikipedia.org/wiki/Open-source_Unicode_typefaces&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For more background information read: &lt;A href="https://stackoverflow.com/questions/34732718/why-isnt-there-a-font-that-contains-all-unicode-glyphs" target="_blank"&gt;https://stackoverflow.com/questions/34732718/why-isnt-there-a-font-that-contains-all-unicode-glyphs&lt;/A&gt;</description>
      <pubDate>Thu, 28 Sep 2023 09:38:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unicode-character-will-not-display-in-sgplot-output/m-p/896217#M354108</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2023-09-28T09:38:57Z</dc:date>
    </item>
  </channel>
</rss>

