Classification: |
C++ |
Category: |
Base |
Created: |
11/19/99 |
Modified: |
06/13/2001 |
Number: |
FAQ-0438 |
Platform: |
ER5 |
|
Question: When I sort accented characters in Data or Sheet it does not follow the code page order that appears when I press ctrl-shift-fn-C
in an Edit window of an EPOC/Java app on an EPOC machine (ctrl-shift-alt-C in WINS).
Answer: When sorting in the Data or Sheet applications the sort calls on the Fold() function. The explanation below would apply if
you were to use Fold() in your programme. Folding means the removal of differences between characters that are deemed unimportant for the purposes of inexact or case-insensitive
matching. As well as ignoring differences of case, folding ignores any accent on a character. By convention, folding converts
lower case characters into upper case and removes any accent. ER5 is shipped with a folding convention that is suitable for English. It is possible for licensees to localise this for other
languages but this has not been done to date.
In future EPOC releases there will be an extended Fold() method allowing a number of variations of the folding theme to be
applied rather than just the basic. See EPOC Reference | E32 User Library | User Class for more details.
|