How Kruti Dev legacy Hindi text converts to Unicode, and why matras must be reordered
Kruti Dev is a legacy Hindi font still widely used in Indian government offices, courts and typing exams, storing Latin characters that a font renders as Devanagari. Because the text is not real Unicode, it appears as garbled letters like esjk uke when the font is missing, so it fails in messaging apps, web pages and search. Converting it requires rebuilding the Devanagari string rather than simply switching fonts, mapping longest key sequences first and normalising vowel pairs such as अ plus ा into आ. The short-i matra ि is typed before its consonant in Kruti Dev but must follow it in Unicode, while the reph र् must move backwards to the start of its cluster. Additional rules cover nukta, half letters, halants and digits, and getting these reorderings wrong yields text that looks right but breaks search, sorting and spell-check.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in