Byte-Based Operation or Character-Based Operation

When your program tries to replace one DBCS character with a SBCS character or vice versa, there are two alternatives: 1) byte-based operation and 2) character-based operation. Which you should choose depends on the characteristics of your program. If your editing object is column-sensitive (or position-sensitive), use the byte-based operation.


[Back: Byte-Counting or Character-Counting]
[Next: Padding, Truncation, ...]