// This is a part of encoding-next. // // Any copyright is dedicated to the Public Domain. // https://creativecommons.org/publicdomain/zero/1.0/ //! Simplified Chinese index tables for //! [encoding-next](https://github.com/alexschrod/encoding-next). #![cfg_attr(test, feature(test))] /// GB 18030 two-byte area. /// /// From the Encoding Standard: /// /// > This matches the GB18030 standard for code points encoded as two bytes, /// > except `0xA3 0xA0` maps to U+3000 to be compatible with deployed content. #[rustfmt::skip] pub mod gb18030; /// GB 18030 four-byte area. /// /// From the Encoding Standard: /// /// > This index works different from all others. /// > Listing all code points would result in over a million items /// > whereas they can be represented neatly in 207 ranges combined with trivial limit checks. /// > It therefore only superficially matches the GB18030 standard /// > for code points encoded as four bytes. #[rustfmt::skip] pub mod gb18030_ranges;