When you need Kruti Dev instead of Unicode
Most new Hindi text is Unicode: anything typed on a phone, in Google Docs, or with the Windows Hindi keyboard. Plenty of work still runs on Kruti Dev 010, though. Court and office formats, affidavits, letterheads and old Word or PageMaker templates were built around it, and many typists type fastest on its Remington layout. When Hindi from a website or a Mangal file has to go into one of those documents, it has to be converted, because simply changing the font turns Unicode Hindi into boxes or the wrong letters.
How the conversion works
Unicode stores Hindi in the order you say it. Kruti Dev stores it in the order a typist presses keys, which follows how the letters are drawn. The converter rebuilds that order for every syllable:
- The short i matra (ि) goes in front of its letter, using the
fkey. If the letter is a cluster like स्थ or क्र, the matra goes in front of the whole cluster, as infLFkfrfor स्थिति. - The reph (र् above a letter) goes after the syllable, using the
Zkey, as indk;Zfor कार्य. When the syllable ends in ी, the converter uses Kruti Dev's combined glyphÊso the reph sits above the matra. - Conjuncts that have their own key are used where they exist:
{kfor क्ष,=for त्र,Kfor ज्ञ,Jfor श्र, and#and:for रु and रू.
| Unicode Hindi | Kruti Dev keys |
|---|---|
| भारत | Hkkjr |
| हिंदी | fganh |
| क्रिया | fØ;k |
| पूर्ति | iwfrZ |
| राष्ट्रीय | jk"Vªh; |
| द्वारा | }kjk |
| ध्यान | /;ku |
| गुरु | xq# |
We tested the converter on more than 2,000 different words from Hindi Wikipedia. Each Kruti Dev result converted back to exactly the same Unicode word, and the Uttar Pradesh government's own font converter read our Kruti Dev output the same way.
Punctuation and symbols
Kruti Dev uses several punctuation keys for Hindi letters. The semicolon key is य, the colon key is रू, and the quote keys are श् and ष्. So the converter moves real punctuation to the spare keys Kruti Dev keeps for it. A full stop stays a full stop and a danda (।) stays a danda. Two symbols have no Kruti Dev key at all: a colon comes out as the visarga (ः), which looks like one, and a percent sign does too. Check those after pasting.
Pasting into Word
Paste with Paste Special, Unformatted Text (or the Keep Text Only paste option) so Word does not keep the old font. Then select the text and choose Kruti Dev 010 from the font list. If Word turns any straight quote into a curly one while you edit, the letter will change, because in Kruti Dev those quotes are Hindi letters. Turn off "Straight quotes with smart quotes" under AutoCorrect options while you work on a Kruti Dev file.
Need to go back the other way? The Krutidev to Unicode converter turns old Kruti Dev files into Hindi that works on websites and phones.