<?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 SAS OnDemand: é character requires 2 bytes! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-OnDemand-%C3%A9-character-requires-2-bytes/m-p/812000#M320341</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;When using SAS OnDemand, the é character is automatically interpreted as 'C3A9'x i.e. requires 2 bytes.&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="sasondemand.JPG" style="width: 277px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71204iA369C0273C40BABE/image-size/large?v=v2&amp;amp;px=999" role="button" title="sasondemand.JPG" alt="sasondemand.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When using the exact same code with SAS Studio from SAS Analytics, it is interpreted as 'E9'x from the extended ASCII table and therefore only requires one byte (which is what I would expect).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sasstudio.JPG" style="width: 338px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71205i1DF2762ED7DD9655/image-size/large?v=v2&amp;amp;px=999" role="button" title="sasstudio.JPG" alt="sasstudio.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Do you know why SAS OnDemand goes for a 2-byte value ?&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
    <pubDate>Sun, 08 May 2022 16:01:56 GMT</pubDate>
    <dc:creator>xxformat_com</dc:creator>
    <dc:date>2022-05-08T16:01:56Z</dc:date>
    <item>
      <title>SAS OnDemand: é character requires 2 bytes!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-OnDemand-%C3%A9-character-requires-2-bytes/m-p/812000#M320341</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;When using SAS OnDemand, the é character is automatically interpreted as 'C3A9'x i.e. requires 2 bytes.&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="sasondemand.JPG" style="width: 277px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71204iA369C0273C40BABE/image-size/large?v=v2&amp;amp;px=999" role="button" title="sasondemand.JPG" alt="sasondemand.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When using the exact same code with SAS Studio from SAS Analytics, it is interpreted as 'E9'x from the extended ASCII table and therefore only requires one byte (which is what I would expect).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sasstudio.JPG" style="width: 338px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71205i1DF2762ED7DD9655/image-size/large?v=v2&amp;amp;px=999" role="button" title="sasstudio.JPG" alt="sasstudio.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Do you know why SAS OnDemand goes for a 2-byte value ?&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 16:01:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-OnDemand-%C3%A9-character-requires-2-bytes/m-p/812000#M320341</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2022-05-08T16:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS OnDemand: é character requires 2 bytes!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-OnDemand-%C3%A9-character-requires-2-bytes/m-p/812002#M320343</link>
      <description>&lt;P&gt;Because On Demand runs with UTF encoding, and E9 is not available there, as it is a start byte for a UTF sequence.&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 16:07:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-OnDemand-%C3%A9-character-requires-2-bytes/m-p/812002#M320343</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-05-08T16:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS OnDemand: é character requires 2 bytes!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-OnDemand-%C3%A9-character-requires-2-bytes/m-p/812013#M320350</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm missing background encoding knowledge to understand what "as it is a start byte for a UTF sequence." means.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But on my local SAS Studio installation, I'm also using UTF-8. Did you mean this setting or something else?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sasstudio.JPG" style="width: 988px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71207iEAD04C61C7EE91DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="sasstudio.JPG" alt="sasstudio.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 17:05:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-OnDemand-%C3%A9-character-requires-2-bytes/m-p/812013#M320350</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2022-05-08T17:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS OnDemand: é character requires 2 bytes!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-OnDemand-%C3%A9-character-requires-2-bytes/m-p/812015#M320352</link>
      <description>&lt;P&gt;Study this:&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/UTF-8" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/UTF-8&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run this in your environments.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option=encoding;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and compare the logs.&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 17:15:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-OnDemand-%C3%A9-character-requires-2-bytes/m-p/812015#M320352</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-05-08T17:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS OnDemand: é character requires 2 bytes!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-OnDemand-%C3%A9-character-requires-2-bytes/m-p/812017#M320353</link>
      <description>&lt;P&gt;After reading the you comment I've start reading the Wikipedia page and came up with more questions (I will create a distinct post for one of them).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the code. I didn't thought about looking in the global options.&lt;/P&gt;
&lt;P&gt;So also SAS Studio shows UTF-8, WLATIN1 is actually used.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 17:27:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-OnDemand-%C3%A9-character-requires-2-bytes/m-p/812017#M320353</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2022-05-08T17:27:02Z</dc:date>
    </item>
  </channel>
</rss>

