<?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>Question Re: Character Converting Problem at File Adapter in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659710#M2422783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Appears that did the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is appearing the same as the source. I need to do additional testting to verify that the issues is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2010 07:06:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-25T07:06:23Z</dc:date>
    <item>
      <title>Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaq-p/6659701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a character conversion problem bringing in a XML file into XI.&lt;/P&gt;&lt;P&gt;It is converting the data wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a file adapter picking up Audit.xml encoding is utf-8, use binary mode to pick it up.&lt;/P&gt;&lt;P&gt;XI takes the file and converts it into a text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I compared the hex of Audit.xml source file and the Audit.txt file and the characters are different for a specific few.&lt;/P&gt;&lt;P&gt;See attached image for details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if any additional information will help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://i9.photobucket.com/albums/a68/tkc204/SAP%20XI/Audit.png" target="test_blank"&gt;http://i9.photobucket.com/albums/a68/tkc204/SAP%20XI/Audit.png&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 20:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaq-p/6659701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T20:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659702#M2422775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chirag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with File Type as Text at both sender and receiver file adapter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 20:33:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659702#M2422775</guid>
      <dc:creator>sunilchandra007</dc:creator>
      <dc:date>2010-02-24T20:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659703#M2422776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response.I have tried that. I still have the same problem I have tried the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text - UTF-8 to Text UTF-8&lt;/P&gt;&lt;P&gt;Binary to Text UTF-8&lt;/P&gt;&lt;P&gt;UTF-8 to Binary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 20:48:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659703#M2422776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T20:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659704#M2422777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be the specific character is not available in UTF-8.  Try File Encoding with ISO-8859-1 or UTF-16 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 20:58:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659704#M2422777</guid>
      <dc:creator>sunilchandra007</dc:creator>
      <dc:date>2010-02-24T20:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659705#M2422778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try that, but if the XML header has&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;doesnt it override your xi setting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 21:19:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659705#M2422778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T21:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659706#M2422779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check section 16 for file encoding &lt;A href="https://service.sap.com/sap/support/notes/821267" target="test_blank"&gt;https://service.sap.com/sap/support/notes/821267&lt;/A&gt; . Also have a look at 3.1 of &lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&amp;amp;overridelayout=true" target="test_blank"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&amp;amp;overridelayout=true&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 21:38:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659706#M2422779</guid>
      <dc:creator>sunilchandra007</dc:creator>
      <dc:date>2010-02-24T21:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659707#M2422780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Thanks, Ive actually have reviewed those before. The file the source system is sending to xi is also not opening up in Internet Explorer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source system is 1252 and outputs xml to utf-8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is an issue between those two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But since the hex is changing in XI, the source system won't look at the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 23:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659707#M2422780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T23:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659708#M2422781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Chirag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post the Audit.txt and Audit.xml data where you feel it's getting changed.So,that we can have a look and try to solve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nutan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 04:28:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659708#M2422781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T04:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659709#M2422782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chirag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep the sender mode as binary &lt;/P&gt;&lt;P&gt;and receiver channel as TEXT with Windows-1252 encoding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 06:09:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659709#M2422782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T06:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659710#M2422783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Appears that did the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is appearing the same as the source. I need to do additional testting to verify that the issues is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 07:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659710#M2422783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T07:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659711#M2422784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; and receiver channel as TEXT with Windows-1252 encoding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First &lt;STRONG&gt;ask&lt;/STRONG&gt; which codepage is expected by the receiver.&lt;/P&gt;&lt;P&gt;You cannot just put any codepage you like &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 07:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659711#M2422784</guid>
      <dc:creator>stefan_grube</dc:creator>
      <dc:date>2010-02-25T07:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659712#M2422785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then there is something wrong with the input XML document. It often happens that external applications send with declared XML header encoding UTF-8, but in reality it is ISO-8859-1. The ugly thing is, most of the time the problem will not be recognized, because most of the standard characters are encoded the same in UTF-8 and ISO-8859-1. But have a look at the ascii chars &amp;gt; 127, there you will see the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will note that problem if you just open the input file e.g. in Internet Explorer: if it displays some garbage for special characters or if it cannot open the file at all,  then  the sender uses the wrong encoding declaration. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So instead of tuning the XI parameters, better request the sender to send a correct XML &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 10:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659712#M2422785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T10:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659713#M2422786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Then there is something wrong with the input XML document. It often happens that external applications send with declared XML header encoding UTF-8, but in reality it is ISO-8859-1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, that happens often. But here the input file is correct..&lt;/P&gt;&lt;P&gt;As you see in hex code, the characters are valid UTF-8 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S.R.Suraj has already provided a solution for the issue, so I think this is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 12:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659713#M2422786</guid>
      <dc:creator>stefan_grube</dc:creator>
      <dc:date>2010-02-25T12:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659714#M2422787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Source team claimed it was UTF-8. But after rigorous investigation it wasn't.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 13:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659714#M2422787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T13:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Character Converting Problem at File Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659715#M2422788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually for this case Christian is right the source xml that I am receiving wasn't valid UTF-8. The program generating the xml was just putting the encoding - utf-8 tag on top because that's what the code told it to do. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual data is Windows-1252 in xml. So when XI reads it, it uses the utf-8 tag on top and is expecting UTF-8, but it was getting something else causing the unsupported characters to get converted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The HEX was different on the Source XML comparing it to what XI was generating after File Adapter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After making the output change to Windows 1252. It changes back to the expect HEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source - is at Windows 1252&lt;/P&gt;&lt;P&gt;XI - it will use UTF-8 (no way to change it)&lt;/P&gt;&lt;P&gt;Target - forced to create in Windows 1252&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other helpful tools I used: W3C Validator - upload the file and found that I wasn't receiving UTF-8&lt;/P&gt;&lt;P&gt;I hope this is clear and helps someone else in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks For everyone's input. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chirag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 13:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/character-converting-problem-at-file-adapter/qaa-p/6659715#M2422788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T13:22:36Z</dc:date>
    </item>
  </channel>
</rss>

