<?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: Conversion Error in CONVERT_RTF_TO_ITF in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-error-in-convert-rtf-to-itf/m-p/1209733#M133117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just in case somebody´s interested! I found that the source .rtf files we were trying to convert were not valid .rtf, at least in the way SAP sees it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We removed some of the formating information, then the FUBA was able to parse the code directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx anyway &amp;amp; Kind regards&lt;/P&gt;&lt;P&gt;Christoph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Mar 2006 14:03:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-20T14:03:15Z</dc:date>
    <item>
      <title>Conversion Error in CONVERT_RTF_TO_ITF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-error-in-convert-rtf-to-itf/m-p/1209732#M133116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m using FM CONVERT_RTF_TO_ITF to convert contents of an .rtf document to SapScript format. This basically works fine. Since the customer is based in Austria, there is a need to convert german special characters in the text as well (ä, ö, ü, ß).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works for some characters, but not for all. I do get some incorrect results, that actually look like chinese characters. Here´s an excerpt of the result of a conversion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt; looking good &amp;gt;&amp;gt; &lt;/P&gt;&lt;P&gt;Ich habe soeben erfahren, dass sich die Flughafensteuern für Ihr Ticket&lt;/P&gt;&lt;P&gt;nach ... erhöht haben.&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt; /looking good &amp;gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt; looking not so good &amp;gt;&amp;gt; &lt;/P&gt;&lt;P&gt;Die anfallenden Geb&amp;amp;#40680;ren (Flughafensteuern) werden von der jeweiligen&lt;/P&gt;&lt;P&gt;Fluglinie an die einnahmeberechtigte Stelle zB. Flughafen AG abgegeben.&lt;/P&gt;&lt;P&gt;F&amp;amp;#40693; die Berechnung ist der Kurswechsel am jeweiligen Tag&lt;/P&gt;&lt;P&gt;ausschlaggebend, da die Betr&amp;amp;#37585;e in der jeweiligen Landesw&amp;amp;#37586;rung&lt;/P&gt;&lt;P&gt;anfallen. Daher k&amp;amp;#39946;nen sich die Taxen ver&amp;amp;#37592;dern, wenn das Ticket nicht&lt;/P&gt;&lt;P&gt;am Tag der Buchung ausgestellt wird.&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt; /looking not so good &amp;gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to debug into form import_rtf (subsequently called by FM CONVERT_RTF_TO_ITF) but didn´t get any hints on where the error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I kind of think that it may be a problem linked to our systems codepage, since we are running a unicode database and i found a line of coding, that looks suspicious to me in form import_rtf (include LSTXKFRI, line 19)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  ascii_codepage = 1133.           " empirisch, bis genau bekannt&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Christoph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Mar 2006 17:20:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-error-in-convert-rtf-to-itf/m-p/1209732#M133116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-18T17:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Error in CONVERT_RTF_TO_ITF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-error-in-convert-rtf-to-itf/m-p/1209733#M133117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just in case somebody´s interested! I found that the source .rtf files we were trying to convert were not valid .rtf, at least in the way SAP sees it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We removed some of the formating information, then the FUBA was able to parse the code directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx anyway &amp;amp; Kind regards&lt;/P&gt;&lt;P&gt;Christoph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 14:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-error-in-convert-rtf-to-itf/m-p/1209733#M133117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T14:03:15Z</dc:date>
    </item>
  </channel>
</rss>

