Skip to Content
0
Former Member
Sep 22, 2010 at 02:13 AM

cl_http_client with Chnese Characters in URL

366 Views

Friends,

I have a requirement to pass Chinese characters in the URL when I create the HTTP client. The code below works fine when the URL does not contain the Chinese characters. If I take the string and past it in a browser address bar I get the correct response from the website.

Is there a way to generate the client when there are unicode characters in the URL?

  call method cl_http_client=>create_by_url
    exporting
      url                = address_string
    importing
      client             = http_client
    exceptions
      argument_not_found = 1
      plugin_not_active  = 2
      internal_error     = 3
      others             = 4.

Thanks in advance.