Date: Sun, 12 May 91 19:51:20 +0200 From: Keld J|rn Simonsen To: wg15rin@dkuug.dk Subject: collating sequence replacements Title: Proposal for building on others locales. Source: Danish Standards Association Date: 1991-05-12 Much work is done on locales, and making them quite general. WG15 RIN has on its programme of work to harmonize locales as far as it is feasible. The POSIX.2 Draft 11 introduced a copy command for all sections of the locale. This is good for many purposes and it ensures that two locales are equivalent for this category. A further step in building on previous art is proposed here. The collating sequences vary a bit from country to country, but generally much of the collating sequence is the same. For instance the Danish sequence is quite equal to the German, English or French, but for about a dozen letters it differs. The same can be said for Swedish or Spanish: generally the latin collating sequence is the same, but a few charcters are different. With the advent of the quite general coded character set independent locales like the example Danish in POSIX.2 draft 11 annex F, it would be convenient if the few differences could be specified just as changes to an existing one. This would also improve the overview of what the changes really are. Therefore DS propose the following. For the LC_COLLATE definition, a new command is allowed: replace_after ... ... ... replace-end This construct is allowed also when a "copy" statement has been given. More then one replace_after / replace-end construct can be given The ... are removed from the current collating sequence and inserted after in the collating sequence.