<?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: Failed to transcode data from UTF-16LE to wlatin1 in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/m-p/417923#M26909</link>
    <description>&lt;P&gt;Finally, I solve this problem with this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp; Close EG&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp; Go to D:\Program Files\SAS Home\SAS Foundation\ 9.4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp; Open the sasv9.cfg file in notepad&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4.&amp;nbsp; Comment out this line:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/*-config "D:\Program Files\SAS Home\SASFoundation\9.4\nls\en\&lt;/SPAN&gt;&lt;SPAN&gt;sasv9.cfg" */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5.&amp;nbsp; Add this line&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-config "D:\Program Files\SAS Home\SASFoundation\9.4\nls\u8\&lt;/SPAN&gt;&lt;SPAN&gt;sasv9.cfg"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;6.&amp;nbsp; Save the file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Open EG and test.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I thought it might because I didn't choose utf-8 as default, thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 02 Dec 2017 05:07:24 GMT</pubDate>
    <dc:creator>Daisyliang</dc:creator>
    <dc:date>2017-12-02T05:07:24Z</dc:date>
    <item>
      <title>Failed to transcode data from UTF-16LE to wlatin1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/m-p/415392#M26706</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dear Sir / Madam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I installed SAS 9.4, but can not import data from excel. there are 2 problems.&lt;/P&gt;&lt;P&gt;1) Failed to transcode data from UTF-16LE to wlatin1&lt;/P&gt;&lt;P&gt;I tried to follow the previous problems in these articles, but can find solutions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/td-p/277754" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/td-p/277754&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Enterprise-Guide/Transcode-data-from-utf16le-to-wlatin1-issue/td-p/119053" target="_blank"&gt;https://communities.sas.com/t5/SAS-Enterprise-Guide/Transcode-data-from-utf16le-to-wlatin1-issue/td-p/119053&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Missing microsoft office component.&lt;/P&gt;&lt;P&gt;And I tried to save the excel in a xlsx with the only data sheet in it, but it shows missing&lt;SPAN&gt;&amp;nbsp;microsoft office component.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6f0360c6d901b109cffaccc84e699a2.png" style="width: 556px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16783iB6E31809ECE7ADEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="6f0360c6d901b109cffaccc84e699a2.png" alt="6f0360c6d901b109cffaccc84e699a2.png" /&gt;&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="921aeea7c65b37a635331cda40e312e.png" style="width: 556px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16784i4367A938DA338453/image-size/large?v=v2&amp;amp;px=999" role="button" title="921aeea7c65b37a635331cda40e312e.png" alt="921aeea7c65b37a635331cda40e312e.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 06:36:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/m-p/415392#M26706</guid>
      <dc:creator>Daisyliang</dc:creator>
      <dc:date>2017-11-22T06:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to transcode data from UTF-16LE to wlatin1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/m-p/415413#M26708</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/179030"&gt;@Daisyliang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what maintenance of SAS 9.4 do you have installed? Besides, I think you should check if your EG and Office bit-ness are 32-bit or 64-bit. Both must be at the same level. Also please check, as the second window suggest, if you have all the ACE components installed and on the proper version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings16/10863-2016.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings16/10863-2016.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/64-bit-Microsoft-ACE-drive-supported-on-Windows-Server-2012/td-p/233481" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/64-bit-Microsoft-ACE-drive-supported-on-Windows-Server-2012/td-p/233481&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, if your Office document it is saved with UTF-8/UNICODE/Double-byte characters, and your SAS Session is on single byte (wlatin) it won't be able to translate/transcode. You would need to have a workspace server session on UTF-8/UNICODE level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also have seen when an Excel file,s aved on certain ways, it contains on the first lines a "Korean" blah-blah string, if removed, it works. Of course, that is not something you can do for every Excel file, hence, to apply the latest hotfixes or maintenance, it is very recommended.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If nothing of this works, I would recommend you to contact SAS Technical Support.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 08:14:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/m-p/415413#M26708</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-11-22T08:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to transcode data from UTF-16LE to wlatin1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/m-p/415430#M26709</link>
      <description>&lt;P&gt;Make sure SAS runs with correct encoding (as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt; already recommended)&lt;/P&gt;
&lt;P&gt;To avoid hassles with MS-installed (or not-installed) modules, copy your files to the SAS server and run a straight proc import there. SAS 9.4 can read/write xlsx directly on any platform.&lt;/P&gt;
&lt;P&gt;Best option: use a sensible, text-based file format for data transfers between applications. Save to csv from Excel, and import that, or read with a custom data step. Similarly, write to csv from SAS, and use that in Excel.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 09:30:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/m-p/415430#M26709</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-22T09:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to transcode data from UTF-16LE to wlatin1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/m-p/415728#M26725</link>
      <description>&lt;P&gt;Thx for your kindly reply, for question 2) I find out that it's because the version of my office is 32bit, and now I reinstalled a 64bit version, the problem solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for question 1, I still don't have any idea of what to do, because I'm a new learner of SAS, no experiences in coding. The SAS 9.4 is the newest I suppose, becasue I just installed and uploaded it. Is it&amp;nbsp;because when I installed it, I didn't choose utf-8 as a default option? should I just reinstall it with utf-8?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 02:55:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/m-p/415728#M26725</guid>
      <dc:creator>Daisyliang</dc:creator>
      <dc:date>2017-11-23T02:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to transcode data from UTF-16LE to wlatin1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/m-p/417923#M26909</link>
      <description>&lt;P&gt;Finally, I solve this problem with this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp; Close EG&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp; Go to D:\Program Files\SAS Home\SAS Foundation\ 9.4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp; Open the sasv9.cfg file in notepad&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4.&amp;nbsp; Comment out this line:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/*-config "D:\Program Files\SAS Home\SASFoundation\9.4\nls\en\&lt;/SPAN&gt;&lt;SPAN&gt;sasv9.cfg" */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5.&amp;nbsp; Add this line&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-config "D:\Program Files\SAS Home\SASFoundation\9.4\nls\u8\&lt;/SPAN&gt;&lt;SPAN&gt;sasv9.cfg"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;6.&amp;nbsp; Save the file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Open EG and test.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I thought it might because I didn't choose utf-8 as default, thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2017 05:07:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Failed-to-transcode-data-from-UTF-16LE-to-wlatin1/m-p/417923#M26909</guid>
      <dc:creator>Daisyliang</dc:creator>
      <dc:date>2017-12-02T05:07:24Z</dc:date>
    </item>
  </channel>
</rss>

