<?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: Comparing strings with symbols from different alphabets in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Comparing-strings-with-symbols-from-different-alphabets/m-p/252950#M48098</link>
    <description>&lt;P&gt;Dmitry,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Have you considered the ENCODING= data set option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The value for ENCODING= indicates that the SAS data set has a different encoding from the current session encoding. When you read data from a data set, SAS transcodes the data from the specified encoding to the session encoding. When you write data to a data set, SAS transcodes the data from the session encoding to the specified encoding.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Depending on your data sets or raw files, other ENCODING= options might be more appropriate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Feb 2016 18:01:01 GMT</pubDate>
    <dc:creator>KevinViel</dc:creator>
    <dc:date>2016-02-27T18:01:01Z</dc:date>
    <item>
      <title>Comparing strings with symbols from different alphabets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Comparing-strings-with-symbols-from-different-alphabets/m-p/249173#M46836</link>
      <description>&lt;P&gt;Hello experts!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to compare two strings which contains symbols from different alphabets (e.g. Russian and English). I want that symbols which looks similarly is considered as equal to each other.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;E.g. in the word "Mom" letter "o" is from English alphabet (code &lt;SPAN&gt;043E in Unicode&lt;/SPAN&gt;), and in the world "Mоm" letter "о" is from Russian alphabet (code &lt;SPAN&gt;006F in Unicode&lt;/SPAN&gt;). So (&lt;SPAN&gt;"Mom" =&amp;nbsp;"Mоm") =&amp;gt; false, but I want it would be true. Is there some standard SAS function or I should wright a macro to do it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 12:52:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Comparing-strings-with-symbols-from-different-alphabets/m-p/249173#M46836</guid>
      <dc:creator>DmitryErshov</dc:creator>
      <dc:date>2016-02-10T12:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing strings with symbols from different alphabets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Comparing-strings-with-symbols-from-different-alphabets/m-p/252950#M48098</link>
      <description>&lt;P&gt;Dmitry,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Have you considered the ENCODING= data set option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The value for ENCODING= indicates that the SAS data set has a different encoding from the current session encoding. When you read data from a data set, SAS transcodes the data from the specified encoding to the session encoding. When you write data to a data set, SAS transcodes the data from the session encoding to the specified encoding.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Depending on your data sets or raw files, other ENCODING= options might be more appropriate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 18:01:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Comparing-strings-with-symbols-from-different-alphabets/m-p/252950#M48098</guid>
      <dc:creator>KevinViel</dc:creator>
      <dc:date>2016-02-27T18:01:01Z</dc:date>
    </item>
  </channel>
</rss>

