IBM Support

PI58016: ASIAN CHARACTERS IN UTF-8 ENCODED PAYLOADS ARE CONVERTED TO ESCAPED UNICODE CHARACTERS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using z/OS Connect data transformer, asian characters
    in
    UTF-8 encoded response payloads are converted to escaped
    unicode character by z/OS Connect. For example, chineses
    characters (a simplified set) that would represent "hello
    world" would be returned to the client as:
    \u4f60\u597d\u4e16\u754c
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile for z/OS using z/OS  *
    *                  Connect's data transformer                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: z/OS Connect's data transformer         *
    *                      converts asian characters to escaped    *
    *                      unicode.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    z/OS Connect's data transformer converts UTF-8 encoded asian
    characters in the response payload to escaped
    unicode characters. For example, Chinese characters (a
    simplified set) that would represent "hello
    world" would be returned to the client as:
    \u4f60\u597d\u4e16\u754c
    

Problem conclusion

  • The following configuration attributes need to be set under the
    zosConectManager element:
    preserveJsonObjectPayloadOrder, preserveJsonPayloadCharFormat,
    and setUTF8ResponseEncoding.
    
    For example:
    <zosConnectManager globalDataXformRef="zosConnectDataXform"
    setUTF8ResponseEncoding="true"
    preserveJsonObjectPayloadOrder="true"
    preserveJsonPayloadCharFormat="true"/>
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 16.0.0.2.  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI58016

  • Reported component name

    LIBERTY PROF -

  • Reported component ID

    5655W6514

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-24

  • Closed date

    2016-05-11

  • Last modified date

    2016-06-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LIBERTY PROF -

  • Fixed component ID

    5655W6514

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU011","label":"Systems - zSystems software"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z/OS"}],"Version":"850"}]

Document Information

Modified date:
17 June 2021