<?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 How to change encoding for a dataset? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-change-encoding-for-a-dataset/m-p/347308#M22958</link>
    <description>&lt;P&gt;Hey guys! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know if there is any way to change the dataset's encoding. Currently it is in ASCII (or utf-16Ie (I don't know what is that)), which is - I guesss - not supported by Enterprise guide, because it's always throwing an error when I want to make descriptive statistics on (for example) invoice. It says that it is not UTF-8 (to be precise, it says: "failed to transcode data from utf-16Ie(...)"). So I have to change the encoding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And If I am here I would like to ask that, what should I do if it drops error for an importation? I wanted to import the sashelp.class, but it keep yelling that it is NOT a dataset... Any guess?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answers. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2017 11:48:29 GMT</pubDate>
    <dc:creator>Derdavos</dc:creator>
    <dc:date>2017-04-05T11:48:29Z</dc:date>
    <item>
      <title>How to change encoding for a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-change-encoding-for-a-dataset/m-p/347308#M22958</link>
      <description>&lt;P&gt;Hey guys! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know if there is any way to change the dataset's encoding. Currently it is in ASCII (or utf-16Ie (I don't know what is that)), which is - I guesss - not supported by Enterprise guide, because it's always throwing an error when I want to make descriptive statistics on (for example) invoice. It says that it is not UTF-8 (to be precise, it says: "failed to transcode data from utf-16Ie(...)"). So I have to change the encoding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And If I am here I would like to ask that, what should I do if it drops error for an importation? I wanted to import the sashelp.class, but it keep yelling that it is NOT a dataset... Any guess?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answers. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 11:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-change-encoding-for-a-dataset/m-p/347308#M22958</guid>
      <dc:creator>Derdavos</dc:creator>
      <dc:date>2017-04-05T11:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to change encoding for a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-change-encoding-for-a-dataset/m-p/347311#M22959</link>
      <description>&lt;P&gt;I solved it for myself. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Here is the method:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Go to the location of your SAS.&lt;/P&gt;&lt;P&gt;2. Then go into SASFoundation.&lt;/P&gt;&lt;P&gt;3. Click on 9.4 folder, and after it search the sasv9 file.&lt;/P&gt;&lt;P&gt;4. Open it with ".txt" editor (notepad, note++ etc).&lt;/P&gt;&lt;P&gt;5. Write over th "/en/" to "/u8/".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will solve ALL the problems. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 12:08:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-change-encoding-for-a-dataset/m-p/347311#M22959</guid>
      <dc:creator>Derdavos</dc:creator>
      <dc:date>2017-04-05T12:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to change encoding for a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-change-encoding-for-a-dataset/m-p/397902#M25580</link>
      <description>&lt;P&gt;I already have the utf-8 as encoding in the config file, but still getting the error as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ERROR: Some character data was lost during transcoding in the data set
       libref.datasetname. Either the data contains characters that are not
       representable in the new encoding or truncation occurred during transcoding.&lt;/PRE&gt;&lt;P&gt;last section of my config file looks like this:&lt;/P&gt;&lt;PRE&gt;-FONTSLOC C:\Windows\Fonts
-SET MYSASFILES "?FOLDERID_Documents\My SAS Files\9.4"
-SASUSER "?FOLDERID_Documents\My SAS Files\9.4"
-WORK "!TEMP\SAS Temporary Files"
-MEMSIZE 2G
-SORTSIZE 1G
-TEXTURELOC !SASROOT\common\textures
-SET SASCFG "C:\Program Files\SASHome\SASFoundation\9.4\nls\u8"
-DBCS 
-LOCALE en_US
-ENCODING UTF-8
-SET SAS_NO_RANDOM_ACCESS "1"
-MAPS !SASROOT\maps
-MAPSGFK !SASROOT\mapsgfk
-MAPSSAS !SASROOT\maps
-APPLETLOC "C:\Program Files\SASHome\SASGraphJavaApplets\9.4"&lt;/PRE&gt;&lt;P&gt;Can you point what is missing or what needs to be amended?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Krisraa&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 19:23:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-change-encoding-for-a-dataset/m-p/397902#M25580</guid>
      <dc:creator>krisraa</dc:creator>
      <dc:date>2017-09-21T19:23:05Z</dc:date>
    </item>
  </channel>
</rss>

