Haiku BCollator: Locale-Aware Sorting, Natural Numbers, and Search Keys
Sort Haiku text with BCollator strengths, locale-specific rules, numeric ordering, reusable sort keys, and safe tie-breaking for distinct records.
tag
5 posts
Sort Haiku text with BCollator strengths, locale-specific rules, numeric ordering, reusable sort keys, and safe tie-breaking for distinct records.
How early Unicode designers pursued a universal character repertoire, negotiated Han unification and ISO 10646, and moved beyond a 16-bit design.
Configure and verify Linux locales in WSL without confusing UTF-8 bytes, Windows console settings, terminal rendering, and application decoding.
How Ken Thompson and Rob Pike shaped UTF-8 in 1992, why self-synchronizing bytes mattered, and how later standards narrowed it to today's secure form.
Mojibake, invalid byte errors, and inconsistent sorting usually come from a locale mismatch - diagnose bytes and locale variables before converting anything.