Topic
1 reply Latest Post - ‏2013-06-20T20:47:32Z by HermannSW
pkg_mmmec
pkg_mmmec
1 Post
ACCEPTED ANSWER

Pinned topic Handling chinese characters in datapower

‏2013-06-20T15:59:23Z |

Hi ,

I need help on handling special characters in Datapower. Our backend is Mainframe and they are sending few fields such as name , country name in chinese characters and Datapower is failing to parse it. Mainframe is doing EBCDIC or Unicode(UTF) encoded values.

 

Sample value is from mainframe is:

<hrwgrpcityname>

   <hrwgrpcityname>$JìÌ</hrwgrpcityname>

  </hrwgrpcityname>

 

Thanks,

Pradeep

 

 

Updated on 2013-06-20T15:59:56Z at 2013-06-20T15:59:56Z by pkg_mmmec
  • HermannSW
    HermannSW
    4320 Posts
    ACCEPTED ANSWER

    Re: Handling chinese characters in datapower

    ‏2013-06-20T20:47:32Z  in response to pkg_mmmec

    Hi Pradeep,

    your backend response "looks like" XML.

    But XML default encoding UTF-8, if not specified otherwise in XML declaration.

    So if your above response is UTF-8 encoded, fine.

    If it is EBCDIC-encoded it MUST have a xml declaration with matching EncodingDecl.
    And if it has, then DataPower can parse it.



    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/>