ECN-4696 Double-byte character display misalignment

Incident: 3232115

RPI Number: 1120711

Product: ACUCOBOL-GT

Module: Runtime

Machines Affected: Windows

Known Versions Affected: 10.1.0 and later

DESCRIPTION:

The UNICODE support introduced in version 10.1.0 modified the way double-byte characters are displayed, after translating them to UNICODE, showing them as a single stream. In cases where a double-byte character was invalid, this caused incorrect spacing of the characters, resulting in the misalignment of text on the screen. This has been corrected with the addition of the WIN32-DOUBLE-BYTE-CHARS configuration variable.

The WIN32-DOUBLE-BYTE-CHARS configuration variable, when set to the non-default value of TRUE, emulates the runtime behavior for double-byte characters in versions 10.1.0 and earlier. This runtime behavior displays double-type characters one by one.

The default value of FALSE sets the runtime to display the entire string at once.