Something went wrong. Try again.
The Unicode Collation Algorithm (UTS #10) and CLDR locale tailorings in Zig: sort text the way people expect rather than by code point.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233// SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie <jeff@ocjtech.us>// SPDX-License-Identifier: MIT
//! The empty collation element table, which is what `-Dembed-ducet=false` and//! `-Dembed-cldr=false` put in place of a generated one.//!//! Nothing is mapped, so every code point takes the derived weights of//! section 10.1 and the ordering collapses to roughly code point order. That//! is not a useful collation; it is useful to a caller that is going to//! supply a `Table` of its own and would rather not compile a//! forty-eight-thousand-entry table it will never look at.//!//! An empty band -- minimum above maximum -- so that `Table.isVariable` is//! false for everything rather than true for everything, which a zeroed//! minimum would have made it.//!//! It sits in a directory of its own because a module takes its whole//! containing directory with it. Left in `src/` it would make a second//! module out of every file here, and the generated documentation would carry//! a duplicate of the entire library.
const data = @import("data");
pub const unicode_version = "none";pub const min_variable_primary: u16 = 0xFFFF;pub const max_variable_primary: u16 = 0;pub const stage1 = [_]u16{};pub const stage2 = [_]u64{};pub const expansions = [_]data.Element{};pub const contractions = [_]data.Contraction{};pub const contraction_points = [_]u21{};pub const implicit_ranges = [_]data.ImplicitRange{};