• 1 reply
  • Latest Post - ‏2013-06-20T20:47:32Z by HermannSW
1 Post

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:









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

    Re: Handling chinese characters in datapower


    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/>