This section contains some useful notes about managing the input and output buffers used by the codepage conversion functions.

Determining Buffer Size

When creating the output buffers for the conversion functions, care must be taken to ensure that the buffer is large enough for the entire converted output, plus a terminating null character.

Using Length Parameters

The two different sets of conversion functions differ in how they treat their respective buffer length parameters.


[Back] [Next]