<?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: Change XML Encoding to UTF-8 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-xml-encoding-to-utf-8/m-p/1496237#M230395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Uwe:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently we are on 6.20. But an upgrade is very near and I should expect these Classes to be handy then. I will explore them individually and post back. However, regarding my issue: the XML code generated by program is something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="iso-8859-1"?&amp;gt;#&amp;lt;asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"&amp;gt;&amp;lt;asx:values&amp;gt;&amp;lt;SOURCE&amp;gt;42&amp;lt;/SOURCE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="iso-8859-1"?&amp;gt;#&amp;lt;asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"&amp;gt;&amp;lt;asx:values&amp;gt;&amp;lt;SOURCE&amp;gt;42&amp;lt;/SOURCE&amp;gt;.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My need here is to replace the - encoding="iso-8859-1" with "UTF-8". So if you suggest proper methods to do so then it will be a good step for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the relevant information anyways.&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2006 15:42:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-23T15:42:24Z</dc:date>
    <item>
      <title>Change XML Encoding to UTF-8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-xml-encoding-to-utf-8/m-p/1496235#M230393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear SDNers:&lt;/P&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I face an issue of sending some XML documents from SAP to a non SAP System. This non SAP System stores XML documents in UTF-8 encoding format. When I create an XML document using CALL TRANSFORMATION in ABAP, the XML code generated has encoding as "ISO-...". Could anyone of you please guide me on how to have this changed to UTF-8?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of no solution, I would eventually have to pick the XML generated code and replace the "ISO-..." thing with "UTF-8" at runtime within the program. However, I feel that's not a quality method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if anyone of you can suggest/opine of something better, it would be truly appreciated and rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Have a Nice Day!&lt;/P&gt;&lt;P&gt;Vivek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 08:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-xml-encoding-to-utf-8/m-p/1496235#M230393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T08:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change XML Encoding to UTF-8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-xml-encoding-to-utf-8/m-p/1496236#M230394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vivek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are working on 6.40 already perhaps the following classes may be helpful for converting between different encodings:&lt;/P&gt;&lt;P&gt;- &amp;lt;b&amp;gt;CL_ABAP_CONV_IN_CE&amp;lt;/b&amp;gt; (&amp;lt;i&amp;gt;Code Page and Endian Conversion (System Format -&amp;gt; External)&amp;lt;/i&amp;gt;)&lt;/P&gt;&lt;P&gt;- &amp;lt;b&amp;gt;CL_ABAP_CONV_OUT_CE&amp;lt;/b&amp;gt; (&amp;lt;i&amp;gt;Code Page and Endian Conversion (System Format -&amp;gt; External)&amp;lt;/i&amp;gt;)&lt;/P&gt;&lt;P&gt;- &amp;lt;b&amp;gt;CL_ABAP_CONV_X2X_CE&amp;lt;/b&amp;gt; (&amp;lt;i&amp;gt;Code Page and Endian Conversion Between External Formats&amp;lt;/i&amp;gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 10:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-xml-encoding-to-utf-8/m-p/1496236#M230394</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-08-23T10:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change XML Encoding to UTF-8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-xml-encoding-to-utf-8/m-p/1496237#M230395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Uwe:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently we are on 6.20. But an upgrade is very near and I should expect these Classes to be handy then. I will explore them individually and post back. However, regarding my issue: the XML code generated by program is something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="iso-8859-1"?&amp;gt;#&amp;lt;asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"&amp;gt;&amp;lt;asx:values&amp;gt;&amp;lt;SOURCE&amp;gt;42&amp;lt;/SOURCE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="iso-8859-1"?&amp;gt;#&amp;lt;asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"&amp;gt;&amp;lt;asx:values&amp;gt;&amp;lt;SOURCE&amp;gt;42&amp;lt;/SOURCE&amp;gt;.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My need here is to replace the - encoding="iso-8859-1" with "UTF-8". So if you suggest proper methods to do so then it will be a good step for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the relevant information anyways.&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 15:42:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-xml-encoding-to-utf-8/m-p/1496237#M230395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T15:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change XML Encoding to UTF-8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-xml-encoding-to-utf-8/m-p/1496238#M230396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vivek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The classes I mentioned are available on 6.20, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do XML transformations on our 6.40 unicode system the encoding is utf-8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To replace the "ISO-..." with "utf-8" is a simple task. However, I do not know if it is necessary to convert the byte stream of the XML string as well. But you could easily find out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 19:22:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-xml-encoding-to-utf-8/m-p/1496238#M230396</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-08-23T19:22:26Z</dc:date>
    </item>
  </channel>
</rss>

