Why Kruti Dev text breaks outside Word
Kruti Dev 010 follows the key layout of the Remington Hindi typewriter. It does not store Hindi letters. It stores ordinary keyboard characters and draws a Hindi shape for each one, so the word भारत is saved as Hkkjr. As long as the reader has the Kruti Dev font, the page looks right. Send the file to someone without the font, paste it into Google Docs or WhatsApp, or upload it to a website, and the letters show up instead of the Hindi.
Unicode fixes this by giving every Devanagari letter and matra its own code. Text in Unicode reads the same in any app and on any phone, and it can be searched, spell checked and read aloud by screen readers. That is why government portals, websites and the SSC Hindi typing test use Unicode Hindi, usually shown in the Mangal font.
What the converter fixes
A simple find and replace cannot convert Kruti Dev, because Kruti Dev text is not in the same order as the Hindi you read. Three things need care:
- The short i matra (ि) is typed before its letter in Kruti Dev, with the
fkey, because that is where it appears on paper. In Unicode it comes after the letter. When the letter is a cluster like स्थ, the matra has to move past the whole cluster, not just one character. - The reph, the small र above a letter in words like धर्म and कार्य, is typed after the syllable with the
Zkey. In Unicode it comes first, as र्. - Half letters are joined to a stem. In Kruti Dev,
Dis the half क्, and adding the stemkafter it gives the full क.
| Kruti Dev keys | Unicode Hindi | What happens |
|---|---|---|
Hkkjr | भारत | Each glyph maps to a letter or matra |
fLFkfr | स्थिति | ि moves past the cluster स्थ, then past त |
dk;Z | कार्य | The reph after य moves in front of it as र् |
/keZ | धर्म | Reph moves in front of म |
vkfFkZd | आर्थिक | Short i and reph on the same letter |
f'k{kk | शिक्षा | क्ष is a single key, {k |
Jheku | श्रीमान | श्र is a single key, J |
#i;k | रुपया | रु has its own glyph, # |
i<+kbZ | पढ़ाई | Nukta (+) under ढ |
We checked the converter on more than 2,000 different Hindi words from Hindi Wikipedia articles, converting each one to Kruti Dev and back. Every word came back letter for letter.
Getting a clean result
Most problems come from the text before it reaches the converter. Word turns straight quotes into curly ones as you type, and in Kruti Dev the straight quote keys are श् and ष्. The converter turns curly quotes back before converting, so words like शिक्षा come out right even after Word has changed them.
Kruti Dev also has its own set of Hindi digits (०, १, २). Those become Devanagari digits in Unicode. Digits typed with the normal number keys stay as 0 to 9.
If a word still looks wrong, it was usually typed with a shortcut that only looks right in the font, such as a matra typed twice or a space inside a word. Fix it in the Unicode result, where you can see the real letters.
After converting
Paste the result into Word, Google Docs or a form and pick a Unicode Hindi font if the app asks for one. Mangal and Nirmala UI come with Windows, and phones show Unicode Hindi without any setup. To go the other way, for an office that still prints in Kruti Dev, use the Unicode to Krutidev converter. If you are preparing for the SSC Hindi typing test, which is typed in Mangal, practise speed with the SSC typing test.