<?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: Adding a macron (e.g. café) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776877#M247099</link>
    <description>&lt;P&gt;Thanks!! Threw an error but almost there I think. Any help will be much appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if Ethnic_group="Maori" then Ethnic_group="Māori";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error:&lt;/P&gt;
&lt;P&gt;An error occurred executing the workspace job "XXX".&lt;/P&gt;
&lt;P&gt;Integration technologies failed to submit the code. [Error'&lt;/P&gt;
&lt;P&gt;Failed to transcode data from U_UTF8_CE to U_LATIN1_CE encoding because it contained characters which are not supported by your SAS session encoding. Please review your encoding= and locale= SAS system options to ensure that they can accommodate the data that you want to process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 23:14:25 GMT</pubDate>
    <dc:creator>ywon111</dc:creator>
    <dc:date>2021-10-27T23:14:25Z</dc:date>
    <item>
      <title>Adding a macron (e.g. ā)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776659#M247041</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hoping to get some help. Is there a way to create a dataset that convert from Maori to &lt;SPAN&gt;Māori&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data one;&lt;/P&gt;
&lt;P&gt;length name $30;&lt;BR /&gt;input name;&lt;BR /&gt;datalines;&lt;BR /&gt;Maori&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 06:34:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776659#M247041</guid>
      <dc:creator>ywon111</dc:creator>
      <dc:date>2021-10-28T06:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a macron (e.g. café)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776664#M247042</link>
      <description>&lt;P&gt;And do you have a list of words that match cafe to café?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 04:47:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776664#M247042</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-10-27T04:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a macron (e.g. café)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776665#M247043</link>
      <description>&lt;P&gt;é uses an &lt;STRONG&gt;acute accent&lt;/STRONG&gt; by the way. A &lt;STRONG&gt;macron&lt;/STRONG&gt; is horizontal, as in&amp;nbsp;&lt;SPAN&gt;Māori.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 04:49:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776665#M247043</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-10-27T04:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a macron (e.g. café)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776675#M247047</link>
      <description>I actually have a big dataset with people's ethnicity and Maori, NZ Pākehā is the two that needs to be reformatted so it can be presented in a proper way.&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2021 06:20:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776675#M247047</guid>
      <dc:creator>ywon111</dc:creator>
      <dc:date>2021-10-27T06:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a macron (e.g. café)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776678#M247049</link>
      <description>&lt;P&gt;Use the TRANWRD function&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 06:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776678#M247049</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-10-27T06:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a macron (e.g. café)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776681#M247052</link>
      <description>&lt;P&gt;If this fails you'll have to use K functions. Sorry I can't test as I don't have UTF8 handy. KTRANWRD doesn't exist, so you'll have to do something a bit more convoluted.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 07:00:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776681#M247052</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-10-27T07:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a macron (e.g. café)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776722#M247072</link>
      <description>&lt;P&gt;There is no need for KTRANWRD() as TRANWRD() already handles replaces strings with strings that have a different number of bytes.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 12:48:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776722#M247072</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-10-27T12:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a macron (e.g. café)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776877#M247099</link>
      <description>&lt;P&gt;Thanks!! Threw an error but almost there I think. Any help will be much appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if Ethnic_group="Maori" then Ethnic_group="Māori";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error:&lt;/P&gt;
&lt;P&gt;An error occurred executing the workspace job "XXX".&lt;/P&gt;
&lt;P&gt;Integration technologies failed to submit the code. [Error'&lt;/P&gt;
&lt;P&gt;Failed to transcode data from U_UTF8_CE to U_LATIN1_CE encoding because it contained characters which are not supported by your SAS session encoding. Please review your encoding= and locale= SAS system options to ensure that they can accommodate the data that you want to process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 23:14:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776877#M247099</guid>
      <dc:creator>ywon111</dc:creator>
      <dc:date>2021-10-27T23:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a macron (e.g. café)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776882#M247101</link>
      <description>&lt;P&gt;You use &lt;EM&gt;wlatin1&lt;/EM&gt; encoding.&lt;/P&gt;
&lt;P&gt;This encoding does not know what character&amp;nbsp;&lt;SPAN&gt;ā is. It cannot store it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You need your SAS session to use another encoding, probably UTF8. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Encoding is a SAS startup option, and it will also change the encoding used by your SAS data sets.&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>Thu, 28 Oct 2021 02:22:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/776882#M247101</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-10-28T02:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a macron (e.g. café)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/777173#M247218</link>
      <description>Is there a step by step process to add UTF8 encoding to allow other users running the code to show the macrons?</description>
      <pubDate>Fri, 29 Oct 2021 06:02:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/777173#M247218</guid>
      <dc:creator>ywon111</dc:creator>
      <dc:date>2021-10-29T06:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a macron (e.g. café)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/777181#M247223</link>
      <description>&lt;P&gt;This is probably over cautious, but is also comprehensive&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/movefile/n06qan4j3ffr6fn11bs4q11r8r56.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/movefile/n06qan4j3ffr6fn11bs4q11r8r56.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 08:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-macron-e-g-%C4%81/m-p/777181#M247223</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-10-29T08:07:51Z</dc:date>
    </item>
  </channel>
</rss>

