<?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: Indian currency symbol in SAS in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Indian-currency-symbol-in-SAS/m-p/895532#M43735</link>
    <description>Maybe&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp; knew it .</description>
    <pubDate>Sat, 23 Sep 2023 10:08:12 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2023-09-23T10:08:12Z</dc:date>
    <item>
      <title>Indian currency symbol in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Indian-currency-symbol-in-SAS/m-p/895402#M43725</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Enable ODS PDF output */
ods pdf file="output.pdf";

/* Create a sample dataset with the currency symbol */
data example;
  indian_currency_symbol = '₹';
run;

/* Display the dataset in the PDF output */
proc print data=example;
run;

/* Close the ODS PDF output */
ods pdf close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;SPAN&gt;The Indian currency symbol '₹' is not displayed in the PDF output.&lt;/SPAN&gt; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;output&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daily1_0-1695373704197.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88219i771FC2F7024A3F18/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daily1_0-1695373704197.png" alt="Daily1_0-1695373704197.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>Fri, 22 Sep 2023 09:17:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Indian-currency-symbol-in-SAS/m-p/895402#M43725</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2023-09-22T09:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Indian currency symbol in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Indian-currency-symbol-in-SAS/m-p/895428#M43726</link>
      <description>&lt;P&gt;I believe the default style for PDF (Pearl) is at fault. When I ran your code using the Daisy style (my preferred style for PDF output), the results were appropriately displayed in the PDF:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file="output.pdf" &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;style=daisy&lt;/FONT&gt;;&lt;/STRONG&gt;

/* Create a sample dataset with the currency symbol */
data example;
  indian_currency_symbol = '₹';
run;

/* Display the dataset in the PDF output */
proc print data=example;
run;

/* Close the ODS PDF output */
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Sep 2023 12:04:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Indian-currency-symbol-in-SAS/m-p/895428#M43726</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2023-09-22T12:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Indian currency symbol in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Indian-currency-symbol-in-SAS/m-p/895434#M43727</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daily1_0-1695386167187.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88226i4A9F491CC7ACDCD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daily1_0-1695386167187.png" alt="Daily1_0-1695386167187.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Not working that code . u have any template and other thing pls provide&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 12:39:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Indian-currency-symbol-in-SAS/m-p/895434#M43727</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2023-09-22T12:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Indian currency symbol in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Indian-currency-symbol-in-SAS/m-p/895442#M43728</link>
      <description>&lt;P&gt;Trying to put non-ASCII characters into the code in lines like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; indian_currency_symbol = '₹';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;leaves you at the mercy of the encoding being used by your editor and your SAS session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using a single byte encoding that does not reserve one of the possible 256 values that a single byte can contain for the glyph then it cannot be printed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the setting of the ENCODING option in your SAS session.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put %sysfunc(getoption(encoding));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Make sure it is using UTF-8 (or some other encoding that has that symbol in it).&amp;nbsp; If not then you need to use a SAS session that does have a code that display that symbol.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you figure out the hexcode needed to display that character in the encoding you are using then use that hexcode in your SAS code instead of the literal quoted character will make the SAS program more portable.&amp;nbsp; So if you want to use the hexcode for UTF-8 encoding then use:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;indian_currency_symbol='E282B9'x ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You also need to make sure the FONT you are using to write your PDF file can display that symbol.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 13:26:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Indian-currency-symbol-in-SAS/m-p/895442#M43728</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-09-22T13:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Indian currency symbol in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Indian-currency-symbol-in-SAS/m-p/895532#M43735</link>
      <description>Maybe&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp; knew it .</description>
      <pubDate>Sat, 23 Sep 2023 10:08:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Indian-currency-symbol-in-SAS/m-p/895532#M43735</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-09-23T10:08:12Z</dc:date>
    </item>
  </channel>
</rss>

