<?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: http client, unicode system, unicode-&amp;gt;utf-8 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-client-unicode-system-unicode-gt-utf-8/m-p/4751519#M1114443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MIY &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2008 07:22:26 GMT</pubDate>
    <dc:creator>petr_hanek</dc:creator>
    <dc:date>2008-10-31T07:22:26Z</dc:date>
    <item>
      <title>http client, unicode system, unicode-&gt;utf-8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-client-unicode-system-unicode-gt-utf-8/m-p/4751517#M1114441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please, I have problem with download correct data (or decode downloaded data to correct format) from HTTPS server on UNICODE system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I'm trying to call HTTP2_GET to RFC destination SAPHTTP (frontend), result is correct. This RFC destination is non-UNICODE connection to saphttp.exe&lt;/P&gt;&lt;P&gt;I can download data from https:// .... and everything is perfect. &lt;/P&gt;&lt;P&gt;Response from HTTP2_GET is coded as UTF-8 and calls SCMS_STRING_TO_XSTRING (encoding 1404) and SMUM_XML_PARSE work fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to download data using SAPHTTPA destination (saphttp.exe on application server), I have problem with response data. ASCII characters are correct, but national chars are coded as unicode. I don't know, how can I decode these chars.&lt;/P&gt;&lt;P&gt;SAPHTTPA is connection to UNICODE target system saphttp.exe. (character size = 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Response body length from SAPHTTPA is 2x greater than response body length from SAPHTTP (frontend).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please, how can I decode downloaded unicode data to xstring using encoding 1404 or how can I download data in UTF-8 format using unicode rfc destination?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thx,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 01:42:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-client-unicode-system-unicode-gt-utf-8/m-p/4751517#M1114441</guid>
      <dc:creator>petr_hanek</dc:creator>
      <dc:date>2008-10-30T01:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: http client, unicode system, unicode-&gt;utf-8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-client-unicode-system-unicode-gt-utf-8/m-p/4751518#M1114442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you try download data using HTTP2_GET and UNICODE RFC destination SAPHTTPA, you'll need to covert data using SCMS_STRING_TO_XSTRING  without parameter encoding. Result is correct. Than you can call SMUM_XML_PARSE without problem.&lt;/P&gt;&lt;P&gt;If you need parse part of result SMUM_XML_PARSE  (xml in xml), next call SCMS_STRING_TO_XSTRING  is needed with parameter encoding = '4110' ...&lt;/P&gt;&lt;P&gt;Result is not converted and next call SMUM_XML_PARSE  is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you download data using HTTP2_GET and NON-UNICODE RFC destination SAPHTTP, use your national codepage as parameter in first encoding and second encoding is without parameter 'encoding'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 07:21:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-client-unicode-system-unicode-gt-utf-8/m-p/4751518#M1114442</guid>
      <dc:creator>petr_hanek</dc:creator>
      <dc:date>2008-10-31T07:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: http client, unicode system, unicode-&gt;utf-8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-client-unicode-system-unicode-gt-utf-8/m-p/4751519#M1114443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MIY &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 07:22:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-client-unicode-system-unicode-gt-utf-8/m-p/4751519#M1114443</guid>
      <dc:creator>petr_hanek</dc:creator>
      <dc:date>2008-10-31T07:22:26Z</dc:date>
    </item>
  </channel>
</rss>

