Back to the blog

Writing

Kruti Dev Hindi, turned into Unicode.

Why Kruti Dev text turns into English letters, and how to convert it to Unicode Hindi that works anywhere, with the short i and reph moved right.

By 4 min read

A page of text beside a panel of tools for changing it, with lines of words and a highlighted passage

Hindi typed in Kruti Dev turns into strings like Hkkjr the moment it leaves a computer with the font. The converter turns it into Unicode, which every phone, app and search engine reads as Hindi.

Why Kruti Dev text looks like English.

Kruti Dev 010 is an old font that draws Devanagari on the places of English letters. The file holds English letters: H, k, k, j, r. Only the font makes them look like भारत, so on a device without it, or in an email, a form or a search box, the Hindi is gone.

Unicode gives every Devanagari letter a place of its own, so भारत stays भारत in any font. That is why offices, exams and websites ask for Unicode Hindi, the kind Mangal and every phone keyboard type.

Paste on one side, read the other.

Paste Kruti Dev into the Kruti Dev box and the Unicode appears beside it as you type, in a font your device has for Devanagari. Paste into the Unicode box instead and Kruti Dev appears, and the line over the boxes always says which way it is going. Each box has its own Copy button.

Under the boxes, the result says whether everything was converted. A character Kruti Dev draws nothing for, such as $, is named with its code point and left where it was, so nothing disappears without being said.

The short i, the reph and joined letters.

Kruti Dev is typed in the order the letters are drawn. The short i (ि) is typed before its letter, f then g for हि, and र् on top (the reph) after its syllable, /k e Z for धर्म. Unicode keeps them in the order they are said, so the converter moves ि after its letter, or after a whole joined letter as in स्थिति, and र् before its syllable.

Joined letters such as क्ष, त्र, ज्ञ, श्र, द्व, द्य and द्ध are single glyphs in Kruti Dev, and many letters are a half letter and a stem side by side (ख is [ and k). All of them, the nukta letters ड़ and ज़, the anusvara, chandrabindu, visarga, halant and the danda are converted both ways. The table is KeepSimp's own, written from the font's layout.

On your device, and what to check.

The conversion runs in your browser: nothing you paste is sent anywhere or kept, and it works offline once the page has loaded. English words typed in another font inside a Kruti Dev document are the same kind of characters as Kruti Dev, so they come out as Hindi letters; take them out first or put them back after.

Once your Hindi is Unicode, it can be translated, searched and typed against: the Hindi typing test reads Unicode only.

Further reading

Topics: kruti dev to unicode · kruti dev 010 to unicode · krutidev to mangal · hindi font converter · kruti dev text shows english letters · convert hindi font to unicode

A little less theory. A little more doing.

Try it on your own terms, with a free browser tool.

Try the tool