Try OpenEdge Now
skip to main content
Internationalizing Applications
Using Multi-byte Code Pages : Issues specific to multi-byte code pages : Collating multi-byte characters : Sort order of trail bytes
 
Sort order of trail bytes
For a given lead byte, trail bytes sort in binary order. For example, if one double-byte character has a lead-byte value of 159 and a trail-byte value of 100, and another double-byte character has a lead-byte value of 159 and a trail-byte value of 170, the character with byte values 159 and 100 sorts before the character with byte values 159 and 170, as illustrated in the following figure.
Figure 21. Sorting double-byte characters