Sorting Example: C Vs. Spanish; Sorting Example: C Vs German - HP 9000 User Manual

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

In Spanish "11" is treated as a single character, and it is sorted after "1" and
before "m". Similarly, the "ch" in Spanish is treated as a single character, and
it is sorted after "c" but before "d":
Table 2·2. Sorting Example: C vs. Spanish
Sorted by
Sorted by
C rules
Spanish rules
chaleco
cuna
cuna
chaleco
dia
dia
llava
loro
loro
llava
maiz
maiz
When sorting strings in some languages, a single character is expanded and
treated as if it were really two characters. For example, when sorting strings in
German, :B (the "sharp s"), is treated as if it were "ss".
Table 2·3. Sorting Example: C vs German
Sorted by
Sorted by
C rules
German rules
Rosselenker
Rosselenker
Rostbratwurst
Rofihaar
RoBhaar
Rost bratwurst
In some languages, certain characters such as "-" are ignored when collating
strings, and these also need to be taken into account .
• Data directionality. This is the spatial order in which data is displayed vs.
the order in which it is entered. Data directionality is not the same for all
languages. For example, some Middle Eastern languages are read from right
to left and may be mixed with insertions in left-to-right European languages.
NLS allows for processing of this type of character data. Currently, no
special provisions are made for top-to-bottom languages, such as Chinese,
which are handled in a left-to-right orientation.
Introduction to NLS
2·11
2

Advertisement

Table of Contents
loading

Table of Contents