Character Data Representation Architecture

Enhancements to support string types

Each of the methods described above can be enhanced to deal with different input and output string types.

Null-Terminated

When the input is a null-terminated string, the input parsing step will be enhanced with the necessary logic to sense the null-termination and take appropriate action.

Similarly, when the output string type is null-terminated, the output assembly step of conversion will append a null-termination character to the end of the string. The necessary error-checking logic to ensure that a null-termination character is not encountered in the string converted using the conversion table should also be in place.

See the "Null-terminated string" section in Chapter 6 for the semantics of a null-terminated string.

SPACE Padding

A SPACE padding logic appends the appropriate number of SPACE code points from the relevant CP at the end of the converted string. This enhancement has to be added to the output assembly step for these output string types.

See the "Padded string" section in Chapter 6 for the semantics of a SPACE-padded string.

In addition to these two special string types, a number of string types have been defined in support of bidirectional text. See "Types of strings" in Chapter 6 for specific information.

Contact IBM

Need assistance with your globalization questions?