Corrections in escape sequence encoding
As of z/OS® V1R11, the encoding of octal escape characters in string literals and wide string literals is corrected. See the corrected processing in the following table (where the bytecode is shown using base 16).
Example | Old bytecode (INCORRECT) | New bytecode (CORRECT) | Description |
---|---|---|---|
"\776" | 01fe00 | fe00 | Octal escape overflow in narrow string literals. |
L"\776" | 0001fe00 00 | 01fe0000 | Octal escape above \377 (no overflow) in wide string literal. |