<?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 National characters become garbage in ods rtf output in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/National-characters-become-garbage-in-ods-rtf-output/m-p/5711#M2297</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have created a data set with some Swedish words containing national characters like å, ö and ä. In the output window in SAS, these characters are displayed correctly but when I create ods rtf output and open the rtf file in Word or WordPad they turn into Ã¥, Ã¶ and Ã¤.&lt;BR /&gt;
&lt;BR /&gt;
Do I need to change some settings or is there anything else I can do to solve this problem?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Helle</description>
    <pubDate>Tue, 27 Nov 2007 08:20:00 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-11-27T08:20:00Z</dc:date>
    <item>
      <title>National characters become garbage in ods rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/National-characters-become-garbage-in-ods-rtf-output/m-p/5711#M2297</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have created a data set with some Swedish words containing national characters like å, ö and ä. In the output window in SAS, these characters are displayed correctly but when I create ods rtf output and open the rtf file in Word or WordPad they turn into Ã¥, Ã¶ and Ã¤.&lt;BR /&gt;
&lt;BR /&gt;
Do I need to change some settings or is there anything else I can do to solve this problem?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Helle</description>
      <pubDate>Tue, 27 Nov 2007 08:20:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/National-characters-become-garbage-in-ods-rtf-output/m-p/5711#M2297</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-11-27T08:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: National characters become garbage in ods rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/National-characters-become-garbage-in-ods-rtf-output/m-p/5712#M2298</link>
      <description>The following code works out fine on my computer.&lt;BR /&gt;
Things you can check :&lt;BR /&gt;
- what's the value of your "Locale" SAS system option ? (try SWEDISH as a value)&lt;BR /&gt;
- try adding a TRANTAB=ASCII option to your ODS RTF opening statement&lt;BR /&gt;
- are you using (options in the procedure, Template style) some sort of special font in which those characters would not display (copy your SAS Output and paste into Word, then change the font to the one you would like to use : is it correctly displayed) ?&lt;BR /&gt;
&lt;BR /&gt;
By the way, what SAS version are you using ?&lt;BR /&gt;
&lt;BR /&gt;
Olivier&lt;BR /&gt;
&lt;BR /&gt;
My testing code is&lt;BR /&gt;
[pre]&lt;BR /&gt;
DATA work.swedish ;&lt;BR /&gt;
	INFILE CARDS DLM = "/" ;&lt;BR /&gt;
	INPUT name :$20. ;&lt;BR /&gt;
CARDS ;&lt;BR /&gt;
esbjørn svensson&lt;BR /&gt;
per äkerman&lt;BR /&gt;
pål andersson&lt;BR /&gt;
;&lt;BR /&gt;
RUN ;&lt;BR /&gt;
ODS RTF FILE = "c:\temp\sweeeeeeden.doc" ;&lt;BR /&gt;
PROC PRINT ;&lt;BR /&gt;
RUN ;&lt;BR /&gt;
ODS RTF CLOSE ;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Tue, 27 Nov 2007 10:36:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/National-characters-become-garbage-in-ods-rtf-output/m-p/5712#M2298</guid>
      <dc:creator>Olivier</dc:creator>
      <dc:date>2007-11-27T10:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: National characters become garbage in ods rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/National-characters-become-garbage-in-ods-rtf-output/m-p/5713#M2299</link>
      <description>Hi Olivier&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot for your advice. Unfortunately, neither of your suggestions solve my problem. I am using SAS 9.1 English with DBCS and Unicode support.&lt;BR /&gt;
&lt;BR /&gt;
Helle</description>
      <pubDate>Thu, 06 Dec 2007 09:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/National-characters-become-garbage-in-ods-rtf-output/m-p/5713#M2299</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-12-06T09:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: National characters become garbage in ods rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/National-characters-become-garbage-in-ods-rtf-output/m-p/5714#M2300</link>
      <description>I found out that the solution is to add encoding=wlatin1 to the ODS rtf statement.</description>
      <pubDate>Thu, 06 Dec 2007 11:59:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/National-characters-become-garbage-in-ods-rtf-output/m-p/5714#M2300</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-12-06T11:59:18Z</dc:date>
    </item>
  </channel>
</rss>

