/* Copyright (c) 2018, 2024, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is designed to work with certain software (including but not limited to OpenSSL) that is licensed under separate terms, as designated in a particular file or component or in included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the separately licensed software that they have either included with the program or referenced in the documentation. 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, version 2.0, 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef UCA900_ZH_DATA_H #define UCA900_ZH_DATA_H #include /* For collation which changes character's primary weight according to its tailoring rule, we give this character a extra collation element (see comments in my_char_weight_put_900()). Usually the primary weight of this extra CE starts from 0x54A4, which is the biggest primary weight of all regular characters (non-CJK and non-ignorable) in DUCET. But Chinese is special, because to keep assigning single primary weight to character groups like Latin, Cyrillic, etc, we used all weight value in [0x1C47, 0xF643], so we give the primary weight of extra CE starting from 0xF644 to avoid weight overlapping. */ constexpr int ZH_EXTRA_CE_PRI = 0xF644; static const char zh_cldr_30[] = "&[before 2]a<<\\u0101<<<\\u0100<<\\u00E1<<<\\u00C1<<\\u01CE<<<\\u01CD" "<<\\u00E0<<<\\u00C0" "&[before 2]e<<\\u0113<<<\\u0112<<\\u00E9<<<\\u00C9<<\\u011B<<<\\u011A" "<<\\u00E8<<<\\u00C8" "&e<