IBM Support

IV70352: LOCALE NAMES MORE THAN 5 CHARS GARBEL STRINGS IN KSH SCRIPTS APPLIES TO AIX 7100-02

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using a multibyte locale such as ja_JP.UTF-8 that
    its name has more than 5 characters ksh output
    strings get garbled
    
    example:
    # cat test.sh
    #!/usr/bin/ksh
    val=  some string encoded by UTF-8
    
    LANG=C
    
    LANG=ja_JP.UTF-8
    echo $val
    #
    
    
    To set ja_JP.UTF-8 locale on current shell
    
    # /usr/bin/ksh
    # export LANG=ja_JP.UTF-8    # (a)
    
    
    # ./test.sh                  # (b)
             %?  ??        ??    <=== HERE
    

Local fix

Problem summary

  • ksh output strings get garbled when use locale names having
    more than 5 characters in length.
    

Problem conclusion

  • Ensured that ksh works well with all the locales.
    

Temporary fix

Comments

  • 6100-08 - use AIX APAR IV70028
    6100-09 - use AIX APAR IV67906
    7100-02 - use AIX APAR IV70352
    7100-03 - use AIX APAR IV66912
    

APAR Information

  • APAR number

    IV70352

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2015-03-02

  • Closed date

    2015-03-02

  • Last modified date

    2015-09-30

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

    IV66912

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

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U867551

       UP15/09/21 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
30 September 2015