<?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: Files decoding unther UNICODE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/files-decoding-unther-unicode/m-p/2956658#M697481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use of data types X and XSTRING should be avoided if your system is using unicode.&lt;/P&gt;&lt;P&gt;Because of the difference of length for coding characters between ascii and unicode, conversion is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should try to use other data types to solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicolas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Oct 2007 16:22:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-16T16:22:47Z</dc:date>
    <item>
      <title>Files decoding unther UNICODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/files-decoding-unther-unicode/m-p/2956657#M697480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attachments in xstrings. I'm getting them through WebServices from another non-SAP system.&lt;/P&gt;&lt;P&gt;I need to decode them before putting in one of the Workplace folders in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is I can't do it unther UNICODE system.&lt;/P&gt;&lt;P&gt;Unther non-UNICODE i use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONV = CL_ABAP_CONV_IN_CE=&amp;gt;CREATE( INPUT = ATTCH_WA-CONTENT ).
CONV-&amp;gt;READ( importing DATA = CONTENT LEN = CLEN ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But unther UNICODE I get:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CX_SY_CONVERSION_CODEPAGE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Bei der Konvertierung eines Textes von Codepage '4110' nach Codepage&lt;/P&gt;&lt;P&gt;'4103' wurde&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In attachments i have many types of files: txt, doc, xls, jpg and many others.&lt;/P&gt;&lt;P&gt;None of them is decoded in the right way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried many dofferent codepages anf FMs to do this but it's just not working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help if You have any ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 12:03:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/files-decoding-unther-unicode/m-p/2956657#M697480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T12:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Files decoding unther UNICODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/files-decoding-unther-unicode/m-p/2956658#M697481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use of data types X and XSTRING should be avoided if your system is using unicode.&lt;/P&gt;&lt;P&gt;Because of the difference of length for coding characters between ascii and unicode, conversion is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should try to use other data types to solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicolas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 16:22:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/files-decoding-unther-unicode/m-p/2956658#M697481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T16:22:47Z</dc:date>
    </item>
  </channel>
</rss>

