IBM Support

IC90598: FORM4GL HANGS IF CLIENT_LOCALE SPECIFIES UTF8 AND THE SCREEN SECTION CONTAINS A UTF8 STRING LONGER THAN 255 BYTES

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • You have a 4GL form specification file (.per) that contains utf8
    characters and have set
    
       CLIENT_LOCALE=en_us.utf8
    
    If, inside the SCREEN section you have a string that includes
    characters that requires more than one byte to be encoded and
    the total length of the resulting string exceeds 255 bytes, then
    the command form4gl could hang.
    
    As an example take the unicode character U+2500 (box drawings
    light horizontal) which utf8 encoding ( e2 94 80) requires three
    bytes. If a string is made of 86 occurrences of this character,
    totaling 258 bytes, form4gl will hang.
    

Local fix

  • A possible workaround is to temporarily set
    
       CLIENT_LOCALE=en_us.8859-1
    
    while compiling the forms.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All customers using forms that have multi byte characters    *
    * and a single line in the form that exceeds a certain length. *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please upgrade to 4GL 7.50.xC7 and above or use patched      *
    * version of earlier releases.                                 *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC90598

  • Reported component name

    IBM INFORMIX 4G

  • Reported component ID

    5724C6680

  • Reported release

    750

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-01

  • Closed date

    2014-05-08

  • Last modified date

    2014-05-08

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

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

Fix information

Applicable component levels

  • R750 PSN

       UP

  • R750 PSY

       UP



Document information

More support for: Informix Tools
Informix 4GL

Software version: 750

Reference #: IC90598

Modified date: 2014-05-08