<?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 to odbc special characters in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513566#M138374</link>
    <description>Hi everyone,&lt;BR /&gt;I have a process where we use proc import (dbms=xlsx) to import an excel file. &lt;BR /&gt;We then use libanme ODBC to connect to an SQL server and create the imported table in SQLserver.&lt;BR /&gt;&lt;BR /&gt;Now one of the columns in the excel has values with special characters like the circle bullet symbol.&lt;BR /&gt;&lt;BR /&gt;When we import the excel into sas we can see the bullet in the sas dataset. &lt;BR /&gt;But when we transfer the data to the SQL server the bullet changes to a sort of right arrow -&amp;gt; .&lt;BR /&gt;&lt;BR /&gt;We are on sas Unix environment with Latin1 encoding. I don't have the option of starting a session with UTF8 encoding. &lt;BR /&gt;Is there any other solution that I can try to fix this issue?</description>
    <pubDate>Thu, 15 Nov 2018 20:15:03 GMT</pubDate>
    <dc:creator>NN</dc:creator>
    <dc:date>2018-11-15T20:15:03Z</dc:date>
    <item>
      <title>Sas to odbc special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513566#M138374</link>
      <description>Hi everyone,&lt;BR /&gt;I have a process where we use proc import (dbms=xlsx) to import an excel file. &lt;BR /&gt;We then use libanme ODBC to connect to an SQL server and create the imported table in SQLserver.&lt;BR /&gt;&lt;BR /&gt;Now one of the columns in the excel has values with special characters like the circle bullet symbol.&lt;BR /&gt;&lt;BR /&gt;When we import the excel into sas we can see the bullet in the sas dataset. &lt;BR /&gt;But when we transfer the data to the SQL server the bullet changes to a sort of right arrow -&amp;gt; .&lt;BR /&gt;&lt;BR /&gt;We are on sas Unix environment with Latin1 encoding. I don't have the option of starting a session with UTF8 encoding. &lt;BR /&gt;Is there any other solution that I can try to fix this issue?</description>
      <pubDate>Thu, 15 Nov 2018 20:15:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513566#M138374</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2018-11-15T20:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sas to odbc special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513581#M138378</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18128"&gt;@NN&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Hi everyone,&lt;BR /&gt;I have a process where we use proc import (dbms=xlsx) to import an excel file. &lt;BR /&gt;We then use libanme ODBC to connect to an SQL server and create the imported table in SQLserver.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Now one of the columns in the excel has values with special characters like the circle bullet symbol.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;When we import the excel into sas we can see the bullet in the sas dataset. &lt;BR /&gt;But when we transfer the data to the SQL server the bullet changes to a sort of right arrow -&amp;gt; .&lt;BR /&gt;&lt;BR /&gt;We are on sas Unix environment with Latin1 encoding. I don't have the option of starting a session with UTF8 encoding. &lt;BR /&gt;Is there any other solution that I can try to fix this issue?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What does that represent in the Excel spreadsheet, what should it be?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 20:34:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513581#M138378</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-15T20:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sas to odbc special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513591#M138383</link>
      <description>So on the excel I have a column B&lt;BR /&gt;And in one of the cells let's say {B2},  I have values like&lt;BR /&gt;• point1&lt;BR /&gt;• point2&lt;BR /&gt;• point3&lt;BR /&gt;The round bullet before the word point appears correct when imported into sas dataset .&lt;BR /&gt;But when the Sas dataset is used to create the data on SQL server the bullet appears as -&amp;gt; instead of •&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Nov 2018 20:46:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513591#M138383</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2018-11-15T20:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sas to odbc special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513601#M138388</link>
      <description>&lt;P&gt;are you sure that it is SAS and not SQL that is changing your char(7) or char(149) into this -&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 20:56:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513601#M138388</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-11-15T20:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sas to odbc special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513637#M138407</link>
      <description>I am honestly not sure if it's the SQL which is changing it.&lt;BR /&gt;I have used the condition Dbtype=nvarchar for the variable while setting the sas dataset to sql.&lt;BR /&gt;&lt;BR /&gt;Also if I was to use a session with UTF8 encoding then these characters get transferred correctly.&lt;BR /&gt;But I am trying to see if there is any solution available while using the Latin1 session itself.</description>
      <pubDate>Thu, 15 Nov 2018 21:21:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513637#M138407</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2018-11-15T21:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sas to odbc special characters INENCODING= and OUTENCODING= options?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513654#M138415</link>
      <description>&lt;P&gt;Just an idea. Have you tried using the&amp;nbsp;INENCODING= and OUTENCODING= options?&lt;/P&gt;
&lt;H3 class="LC20lb"&gt;&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 21:36:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513654#M138415</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-11-15T21:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sas to odbc special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513667#M138420</link>
      <description>&lt;P&gt;I guess your SAS and SQL Server needs to have same encoding.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 21:47:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/513667#M138420</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-11-15T21:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sas to odbc special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/514684#M138796</link>
      <description>I am using libname odbc , hence the inecoding and outencoding may not work</description>
      <pubDate>Tue, 20 Nov 2018 07:22:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/514684#M138796</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2018-11-20T07:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sas to odbc special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/514687#M138799</link>
      <description>Hi Surya,&lt;BR /&gt;Can you guide , how can I check the SQLserver encoding.?</description>
      <pubDate>Tue, 20 Nov 2018 07:27:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/514687#M138799</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2018-11-20T07:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sas to odbc special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/514754#M138823</link>
      <description>&lt;P&gt;Try this:&amp;nbsp;&lt;STRONG&gt;SELECT SERVERPROPERTY('Collation')&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 14:17:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-to-odbc-special-characters/m-p/514754#M138823</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-11-20T14:17:07Z</dc:date>
    </item>
  </channel>
</rss>

