<?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: Insert cyrillic symbols into Oracle from XML in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Insert-cyrillic-symbols-into-Oracle-from-XML/m-p/388370#M93140</link>
    <description>&lt;P&gt;I suspect that the UTF-8 chain must not be broken for this to work.&lt;/P&gt;
&lt;P&gt;- SAS may have to run in UTF8 mode, though since you don't&amp;nbsp;use&amp;nbsp;SAS storage you may be able to get away with this. Maybe.&lt;/P&gt;
&lt;P&gt;- The Oracle database should be set to use the UTF-8 character set&lt;/P&gt;
&lt;P&gt;- The intermediate&amp;nbsp;layers (ODBC driver or SQL*Net?, SAS/Access) must also support UTF-8.&lt;/P&gt;
&lt;P&gt;Your characters may get&amp;nbsp;jumbled at any of these stages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2017 05:29:48 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2017-08-16T05:29:48Z</dc:date>
    <item>
      <title>Insert cyrillic symbols into Oracle from XML</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-cyrillic-symbols-into-Oracle-from-XML/m-p/387898#M93029</link>
      <description>&lt;P&gt;Hello. I need to&amp;nbsp;insert some&amp;nbsp;data from XML into Oracle.&amp;nbsp;I extract tables from XML&amp;nbsp;using xmlmap. Both XML and XMLMAP have 'UTF-8' encoding. When I&amp;nbsp;select some string columns from created tables I get normal cyrillic symbols, such as 'тестовая строка'. But when I insert them into Oracle tables, these letters turn into '&lt;SPAN&gt;���������� ������'&lt;/SPAN&gt;. When I try to select these Oracle tables in proc sql statement, I get '???????? ??????'. Do you have any suggestions, what's the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
    
    select * from XMLLIB.Table_Name; /*Checking string data, getting 'тестовая строка'*/

    
    insert into ORALIB.Table_Name
    select * from XMLLIB.Talbe_Name; /*Insert data into Oracle Talbe, returns '�������� ������'*/ 

    
    select * from ORACLE.Table_Name; /*returns '???????? ??????'*/
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once again: both&amp;nbsp;&amp;amp;CUR_XML and &amp;amp;CUR_MAP&amp;nbsp;&lt;SPAN&gt;have 'UTF-8' encoding. Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 18:07:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-cyrillic-symbols-into-Oracle-from-XML/m-p/387898#M93029</guid>
      <dc:creator>AlexTime</dc:creator>
      <dc:date>2017-08-14T18:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Insert cyrillic symbols into Oracle from XML</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-cyrillic-symbols-into-Oracle-from-XML/m-p/388370#M93140</link>
      <description>&lt;P&gt;I suspect that the UTF-8 chain must not be broken for this to work.&lt;/P&gt;
&lt;P&gt;- SAS may have to run in UTF8 mode, though since you don't&amp;nbsp;use&amp;nbsp;SAS storage you may be able to get away with this. Maybe.&lt;/P&gt;
&lt;P&gt;- The Oracle database should be set to use the UTF-8 character set&lt;/P&gt;
&lt;P&gt;- The intermediate&amp;nbsp;layers (ODBC driver or SQL*Net?, SAS/Access) must also support UTF-8.&lt;/P&gt;
&lt;P&gt;Your characters may get&amp;nbsp;jumbled at any of these stages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 05:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-cyrillic-symbols-into-Oracle-from-XML/m-p/388370#M93140</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-08-16T05:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Insert cyrillic symbols into Oracle from XML</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-cyrillic-symbols-into-Oracle-from-XML/m-p/388726#M93224</link>
      <description>&lt;P&gt;I've found the solution.&amp;nbsp;The environment variable NLS_LANG was empty. I've changed it to RUSSIAN_CIS.CL8ISO8859P5 and it worked.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 09:52:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-cyrillic-symbols-into-Oracle-from-XML/m-p/388726#M93224</guid>
      <dc:creator>AlexTime</dc:creator>
      <dc:date>2017-08-17T09:52:30Z</dc:date>
    </item>
  </channel>
</rss>

