2.11.1 Multibyte Character Encoding Control
There are two ways of controlling character encoding conversions:
- Administratively by using environment variables
TPMBENC
andTPMBACONV
- Programmatically by using ATMI functions
The following two flowcharts demonstrate how the environment variables and ATMI are used during the allocating, sending, receiving, and converting of an MBSTRING buffer.
Figure 2-2 Allocating and Sending an MBSTRING Buffer

Figure 2-3 Receiving and Converting an MBSTRING Buffer (Sheet 1 of 2)

Figure 2-4 Receiving and Converting an MBSTRING Buffer (Sheet 2 of 2)

Parent topic: Using an MBSTRING Typed Buffer