Avoid partial characters
When you use a locale that supports a multibyte code set, make sure that you define buffers large enough to avoid the generation of partial characters.
Possible areas for consideration are as follows:
- When you copy data from one buffer to another
- When you have character data that might undergo code-set conversion
For more detailed examples of partial characters, see Partial characters in column substrings.