toMrzAlphabet

open override fun toMrzAlphabet(normalizedInput: String): TransliterationResult

Maps text to the MRZ alphabet and always succeeds.

Upper and lower case map alike: Ə to A, Ç to CH, Ğ to GH, Ş to SH, X to KH, C to J, J to ZH, and Q to G. These apply to C, J, Q, and X even though they are in the MRZ alphabet. Every other character follows IcaoDefaultTransliterationProfile.

Return

TransliterationResult.Success with the mapped text and any characters with no mapping.

Parameters

normalizedInput

The text, already in Unicode NFC.