<?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: Converting UTF-16 to UTF-8 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-utf-16-to-utf-8/m-p/3558963#M856445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call transformation id xml xstring, then use the ECATT_CONV_XSTRING_TO_STRING to covert it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Nov 2010 03:22:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-30T03:22:07Z</dc:date>
    <item>
      <title>Converting UTF-16 to UTF-8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-utf-16-to-utf-8/m-p/3558960#M856442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have XML data in UTF-16 format in 'xml_result' using the below command. I need the data in UTF-8 format to download. How should i convert it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*CALL TRANSFORMATION id&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    SOURCE   H_EXP  = IGR&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    RESULT XML xml_result.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 05:12:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-utf-16-to-utf-8/m-p/3558960#M856442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T05:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Converting UTF-16 to UTF-8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-utf-16-to-utf-8/m-p/3558961#M856443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call the FM like below....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IM_XSTRING = x&lt;/P&gt;&lt;P&gt;IM_ENCODING = 'UTF-8'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;EX_STRING = x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward pointss.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 05:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-utf-16-to-utf-8/m-p/3558961#M856443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T05:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Converting UTF-16 to UTF-8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-utf-16-to-utf-8/m-p/3558962#M856444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; My output 'xml_result' is already of type STRING. Do you know any other function module for which we can give a string input?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 05:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-utf-16-to-utf-8/m-p/3558962#M856444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T05:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Converting UTF-16 to UTF-8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-utf-16-to-utf-8/m-p/3558963#M856445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call transformation id xml xstring, then use the ECATT_CONV_XSTRING_TO_STRING to covert it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 03:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-utf-16-to-utf-8/m-p/3558963#M856445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-30T03:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Converting UTF-16 to UTF-8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-utf-16-to-utf-8/m-p/3558964#M856446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pl refer the below code snippet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: xml_stream TYPE REF TO if_ixml_istream,
            xml_factory  TYPE REF TO if_ixml_stream_factory.

xml_stream = xml_factory-&amp;gt;create_istream_string( string = xml_data ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 05:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-utf-16-to-utf-8/m-p/3558964#M856446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-30T05:28:44Z</dc:date>
    </item>
  </channel>
</rss>

