# BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # do so, delete this exception statement from your version. # # # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. # Copyright (C) 2005 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # # Each line in this file defines a crude string collation. # There are two such collations, one for sorting a displayed list, and # another for selecting one of several alternative values to display: sort 20,A0,3000-30FF 3190- display 20,A0,3000,3190- 3001-30FF # In each line, each parameter defines a "script" as a set of Unicodes; # a character is considered to be part of the first script it matches. # An implicit final script contains characters that don't match any # parameter. Strings are collated in order of these scripts. # A mixed-script string is collated with the last script it contains. # Strings in the same script category are sorted by another algorithm, # which is not defined here. # In this file, the sort scripts are Kana, Kanji and everything else, # and the display scripts are Kanji, Kana and everything else. So, # lists are sorted with pure Kana values first, Kanji values and mixed # Kanji/Kana values next, and finally values containing other characters. # When choosing a value to display, pure Kanji is preferred, Kana or # mixed Kanji/Kana is the next choice, and anything else is the last. # These choices aim to sort by Yomi (stored in Kana), but display Kanji. # Insignificant characters (such as whitespace) should be included in # the first script on each line.