Z52
Z52 · Discussion Document

The Mongolian encoding model in production

To: Unicode Technical Committee

From: Chuck Namujila (individual contribution; Z52 project)

Date: 3 December 2026

Subject: The Mongolian encoding model in production — field evidence on rendering determinism, variation-selector discipline, and unencoded distinctions of the classical inventory

Status: Discussion document. No encoding action is requested at this time. The author requests (a) that the evidence below be noted, (b) guidance from the Script Ad Hoc on which remedy shapes it would entertain, and (c) an indication whether a follow-up proposal for character additions to the Mongolian block, prepared with the template in L2/23-104, would be considered.

1. Summary

The traditional Mongolian script is encoded in the Mongolian block (U+1800–U+18AF) as abstract characters whose rendered forms depend on positional shaping, supplemented — where context does not determine a unique form — by the Free Variation Selectors (FVS1–FVS3, U+180B–U+180D; FVS4, U+180F), the Mongolian Vowel Separator, and joiner controls. Unicode Technical Note #57 describes a disciplined usage of these mechanisms.

The author develops and ships production software for this script: input methods for iOS, macOS, Android and Windows; a text editor; a dictionary of 499,925 words; a digital library of published books; and an OCR engine. To make these systems behave deterministically, the author maintains an internal working encoding (“Z52”) whose inventory is a one-to-one enumeration of the classical letter inventory — 52 letters, 81 codes in total including punctuation and marks — together with a converter to and from standard Unicode Mongolian. That converter, run over real text in both directions for several years, constitutes a measuring instrument for what the standard model preserves in practice. This document reports three measurements and one structural observation:

  1. Rendering is not a function of the encoded text. Identical encoded strings render differently — at times incorrectly — under different widely used fonts, because the interpretation of variation selectors and contextual forms is distributed across shaping tables that do not agree.
  2. The model's correctness depends on an input discipline that field input methods do not sustain. Where the classical inventory distinguishes two letters and the standard provides one character (the distinction being carried, if at all, by an optional variation selector), uncontrolled text in the field usually does not record which letter was intended. Measured over production conversion: approximately 87% of the affected distinctions in uncontrolled text are recoverable directly; a 499,925-word dictionary and variant rules recover most of the remainder; a residue of roughly 13% of the affected distinctions is unrecoverable in principle, because the source text never encoded them. Text encoded with full UTN #57 discipline round-trips at 100% — the loss occurs at input time, in undisciplined text, not in conversion.
  3. Some distinctions of the classical inventory have no character at all and can be approximated only by variation selectors that field text omits (Finding 2) — so in practice they are absent from interchanged text.
  4. The invisible-character burden falls on every tool. Search, sorting, spell-checking and diffing must model the selectors and separators embedded in words; most tools do not, and users experience the failures as defects of the script.

Section 6 states what this document does not ask. Section 7 poses the questions on which the author seeks guidance before preparing a formal proposal.

2. Background and method

The author's systems are in daily production use by writers of the traditional script, principally in Inner Mongolia. All text in those systems is born, stored and processed in the internal working encoding, and is exported to standard Unicode Mongolian (UTN #57 discipline) for interchange; incoming Unicode Mongolian text is converted in the other direction. The converter is therefore exercised continuously on genuine text: personal writing, published books digitised into the library, and dictionary material.

Two properties of this arrangement matter for the evidence below. First, the internal inventory was not designed speculatively: it is the classical letter inventory as enumerated by the script's own orthographic tradition, and every distinction in it is exercised daily by the dictionary, the input method and the OCR training data. Second, the converter's behaviour is fully deterministic and inspectable: mapping tables, the UTN #57 variant rules, and dictionary disambiguation. Where this document gives a figure, Annex B describes how it was obtained.

3. Finding 1 — Rendering is not a function of the encoded text

Under the current model, the displayed form of a word is determined jointly by the encoded text and the shaping behaviour of the font in use. In the author's testing across widely used Mongolian fonts, the same encoded text — including text encoded with full UTN #57 discipline — renders in materially different forms, and some renderings are wrong by the orthography's own rules, because fonts disagree on the interpretation of specific variation-selector sequences and on contextual form selection.

For an interchange standard, the practical consequence is that the archived text does not determine the archived appearance. A library that preserves the text has not preserved what its readers saw. Within a single controlled ecosystem the problem can be engineered away (the author's own applications ship their own fonts and render deterministically, verified character by character on physical devices). In open interchange it cannot, and users attribute the inconsistency to the script rather than to the stack — a reputational cost the script, which is actively losing ground to Cyrillic in Mongolia and is sustained largely by its Inner Mongolian user base, can ill afford.

4. Finding 2 — The input-discipline gap, measured

The standard model places the burden of determinism on the writer's tools: where a letter's form is not contextually determined, the input method must emit the correct variation selector, every time, invisibly. The author's converter provides a direct measurement of how completely that burden is met in real text.

Converting uncontrolled Unicode Mongolian text (text produced by the variety of input methods in the field) into an inventory that distinguishes the classical letters:

The control case confirms the location of the loss. Text that the author's own converter exports to Unicode Mongolian — selectors placed with full discipline — converts back at 100%, as does disciplined text from any source. The converter loses nothing in either direction. The 13% is therefore not a conversion defect and not, strictly, an encoding defect: it is the measured size of the gap between the discipline the model requires and the discipline the field's input methods actually deliver. Writers begin typing in good faith; the distinctions die at the keyboard, silently, at the moment of input.

The author submits that a model whose fidelity depends on invisible characters being emitted with perfect consistency by every input method, forever, should be evaluated against measurements of what input methods do — and that this measurement has not previously been available to the Committee.

5. Finding 3 — Distinctions with no character

The classical inventory, as enumerated in the author's working inventory of 52 letters, contains distinctions for which the Mongolian block provides a single character. In such cases the distinction can be represented, if at all, only by attaching a variation selector to that character. Measured against the reference converter’s tables, the position is concrete: of the 52 letters, 29 have an isolate correspondence identical to another letter’s, 38 share a single base character with at least one other letter, six are distinguished only by a free variation selector, and two have no Unicode correspondence at all. The complete per-code table is published at zmongol.com/z52-mapping.html (with CSV and JSON downloads). Three consequences follow:

  1. The distinction is optional in the encoding in a way that letter distinctions in other scripts are not: two texts that differ in meaning-bearing letters can be byte-identical.
  2. Per Finding 2, field text usually omits the selector, so the distinction is absent from interchanged text in the ordinary case.
  3. Because the distinction is not carried by a character, plain-text processes (search, sorting, spell-checking) cannot operate on it even in principle without script-specific selector modelling.

The full enumeration — each such distinction, the single character it maps to today, the selector sequence used to approximate it, and attested examples from published texts in the author's library — is maintained as part of the working inventory's mapping tables and will accompany any follow-up proposal in the form L2/23-104 requires (glyphs, properties, published examples, comparison with similar existing characters). It is not reproduced here because the author first seeks the Committee's guidance on remedy shape (Section 7): if the Script Ad Hoc's position is that such distinctions must remain selector-level regardless of the evidence, a character proposal would not be a good use of the Committee's time.

6. What this document does not ask

For the avoidance of doubt:

7. Questions to the UTC and the Script Ad Hoc

  1. Remedy shape. For distinctions of the classical inventory that today share a single character, does the Script Ad Hoc regard additional characters as an entertainable remedy in principle, or should such distinctions be addressed exclusively through standardized variation sequences — bearing in mind Finding 2's measurement of how field text treats optional selectors?
  2. Evidence standard. For a follow-up character-additions proposal, what evidence of usage would the Script Ad Hoc consider sufficient: the author's dictionary and digitised published corpus, the production usage of the distinctions in shipping software, or attestation from additional independent sources?
  3. UTN #57. Independently of any encoding action, would the Committee welcome a companion document proposing clarifications to UTN #57 arising from the converter's rule set, where production experience has identified sequences whose specified behaviour diverges from what fonts implement?

8. Author's note

The author's ecosystem operates under a published commitment: interchange is always in standard Unicode Mongolian, and if the Standard evolves to encode the missing distinctions, the author's mapping tables make migration mechanical and the internal encoding's reason to exist ends. This document is submitted in that spirit — as field evidence from the script's largest production software base known to the author, offered to the community that maintains the Standard.

Annex A — The working inventory in outline

Annex B — Measurement method for Finding 2

The converter maps between the working inventory and Unicode Mongolian in both directions. Export (working inventory → Unicode) is total and lossless by construction: the richer inventory determines the poorer completely, including selector placement. Import (Unicode → working inventory) proceeds by mapping tables and UTN #57 variant rules, with dictionary disambiguation against a 499,925-word dictionary for cases the encoded text leaves ambiguous. The figures in Finding 2 are the import statistics over uncontrolled field text: the proportion of affected distinctions resolved directly from the encoded text (≈87%), the proportion resolved only by dictionary/rules, and the residue (≈13% of affected distinctions) for which the encoded text contains no determining information. The control measurement — re-importing the converter's own disciplined export — resolves 100% directly, confirming that the residue measures the source text's missing information rather than converter error.