Skip to content
GK24
GK NotesComputer AwarenessHindi Computing: Unicode, InScript Keyboard and Fonts

Hindi Computing: Unicode, InScript Keyboard and Fonts

Exam notes on Hindi computing: ASCII and ISCII, Unicode and the Devanagari block, UTF-8, InScript and Remington layouts, Mangal and Kruti Dev fonts and TDIL.

By · Published · 5 min read

Hindi Computing: Unicode, InScript Keyboard and Fonts — GK24 title card
Hindi Computing: Unicode, InScript Keyboard and Fonts — GK24 title card

A computer stores every letter as a number. English needed only a few dozen numbers, so the early codes were small; Devanagari, with its vowel signs, conjuncts and nukta, needed a far larger and better organised code. Hindi computing is the story of how those codes, keyboards and fonts were standardised, and it is a favourite area for computer awareness papers in SSC, Railway and banking exams, as well as for the Hindi typing tests that many state recruitments hold. Three ideas must be kept apart: the encoding, which is the number given to a character; the keyboard layout, which decides what key produces that character; and the font, which only draws the shape on screen.

From ASCII to ISCII

ASCII, the American Standard Code for Information Interchange, is a 7-bit code and therefore has 128 code positions, enough for the English letters, digits, punctuation and control characters. Extended ASCII used the eighth bit to reach 256 positions, which various makers filled with their own symbols. For Indian scripts the Bureau of Indian Standards adopted ISCII, the Indian Script Code for Information Interchange, as IS 13194 in 1991. ISCII is an 8-bit code that keeps the lower 128 positions identical to ASCII and puts an Indian script in the upper 128. Its clever feature is that a single code table serves ten Indian scripts, because those scripts share a common phonetic order descended from Brahmi; the same code point is read as a Devanagari letter or a Bengali or Tamil letter depending on the script in use. ISCII is still the base of much older government software but has been overtaken by Unicode.

Unicode and the Devanagari block

Unicode is the universal character encoding standard maintained by the Unicode Consortium. It gives every character of every script a unique number called a code point, written as U+ followed by hexadecimal digits. The code space runs from U+0000 to U+10FFFF, that is 17 planes of 65,536 code points each; plane zero is the Basic Multilingual Plane, where almost all living scripts sit. The Devanagari block occupies U+0900 to U+097F, and later additions sit in a Devanagari Extended block. Devanagari digits, the danda and double danda, the virama and the nukta all have their own code points in this range.

Unicode numbers must be stored as bytes, and that is done by an encoding form. UTF-8 is variable width, using one to four bytes; it keeps plain English text byte-identical to ASCII, which is why it took over the web, and it uses three bytes for a typical Devanagari character. UTF-16 uses two bytes for the Basic Multilingual Plane and four for the rest, while UTF-32 uses four bytes for every character.

CodeSizeCoverage
ASCII7 bits, 128 positionsEnglish letters, digits, punctuation
Extended ASCII8 bits, 256 positionsASCII plus vendor symbols
ISCII (IS 13194)8 bits, 256 positionsASCII plus one of ten Indian scripts
UnicodeCode points up to U+10FFFFAll scripts together, Devanagari at U+0900 to U+097F

Keyboard layouts

The InScript layout, short for Indian Script, is the standard keyboard layout for Indian languages notified by the Government of India, and it is built into Windows, Linux, macOS and Android. Its logic is phonetic and uniform: the vowels and their matras are placed on the left hand and the consonants on the right, in the dictionary order of the script, so one layout serves Devanagari, Bengali, Tamil, Telugu and the rest, and a typist who learns Hindi InScript can type Marathi or Nepali without relearning the keys.

Against it stands the Remington layout, which copies the arrangement of the old mechanical Hindi typewriter and is what most professional Hindi typists in offices and courts were trained on. Its variants, Remington GAIL and Remington CBI, are still offered in government typing tests, where candidates usually choose between Remington with a legacy font and InScript with Unicode Mangal. A third way to type is phonetic or transliteration input, in which the typist writes bharat in Roman letters and the software converts it to the Devanagari spelling; this is the easiest for a beginner and the slowest for a professional.

Fonts: Unicode against legacy

A font does not store text, it only draws it. Unicode fonts such as Mangal, Nirmala UI, Aparajita and Kokila on Windows, and Lohit Devanagari and Noto Sans Devanagari in the open source world, map the real Devanagari code points to glyphs. Text typed in them can be searched, sorted, copied into e-mail and read on any device. Legacy or non-Unicode fonts such as Kruti Dev, DevLys and Chanakya take a different route: they paste Devanagari glyphs on top of ASCII code positions, so the computer thinks the text is English while the eye sees Hindi. Open such a file without the matching font and it becomes unreadable symbols, and no search engine can index it. That is why government work has moved to Unicode, with converters available to turn old Kruti Dev material into Unicode. Because Devanagari joins letters into conjuncts, Indian language fonts must be OpenType fonts, which carry the substitution and positioning rules that a plain TrueType font cannot.

Government support

The Technology Development for Indian Languages (TDIL) programme of the Ministry of Electronics and Information Technology develops and distributes fonts, dictionaries, speech and translation tools for Indian languages. The Centre for Development of Advanced Computing (C-DAC), Pune built the GIST range of Indian language technology and the LEAP Office suite, and remains a key centre for script software. Article 343 of the Constitution makes Hindi in the Devanagari script the official language of the Union, which is the legal reason government computing must support Devanagari properly.

Exam Point of View

Papers ask this topic as straight one-liners. The most repeated are the full form of ISCII, the number of bits in ASCII, the body that maintains Unicode, the Unicode range of the Devanagari block, the full form and logic of InScript, and which font is Unicode and which is not. A second group of questions turns on the difference between an encoding, a keyboard layout and a font, and the trap is to call Mangal a keyboard or InScript a font. A third group asks the number of bytes UTF-8 uses, where the answer is one to four in general and three for Devanagari. Typing test questions appear in state recruitment papers: Remington with Kruti Dev against InScript with Mangal. Remember that Kruti Dev is the standard wrong answer whenever a question asks for a Unicode font, and that ISCII is Indian while ASCII is American.

Important Facts

ASCIIAmerican Standard Code for Information Interchange; 7-bit, 128 positions
ISCIIIndian Script Code for Information Interchange; 8-bit; BIS standard IS 13194 of 1991
ISCII scriptsOne code table for ten Indian scripts
Unicode keeperUnicode Consortium
Devanagari blockU+0900 to U+097F
Unicode code spaceU+0000 to U+10FFFF; 17 planes of 65,536 code points
UTF-8Variable width, 1 to 4 bytes; 3 bytes for a typical Devanagari character
UTF-32Fixed 4 bytes for every character
InScriptIndian Script keyboard layout; vowels left, consonants right; same for all Indian scripts
RemingtonTypewriter-based Hindi layout; GAIL and CBI variants in typing tests
Unicode fontsMangal, Nirmala UI, Aparajita, Kokila, Lohit Devanagari, Noto Sans Devanagari
Legacy fontsKruti Dev, DevLys, Chanakya; glyphs placed on ASCII positions
Font technologyOpenType, needed for conjuncts and matra positioning
TDILTechnology Development for Indian Languages, Ministry of Electronics and Information Technology
C-DACCentre for Development of Advanced Computing, Pune; GIST technology and LEAP Office

Practice MCQs on this topic

Q1.Computer AwarenessEasy

The Unicode standard is maintained by which of the following?

  1. A.Unicode Consortium
  2. B.Bureau of Indian Standards
  3. C.Internet Engineering Task Force
  4. D.World Wide Web Consortium
Show answer
Correct answer: A. Unicode Consortium

The correct answer is A, the Unicode Consortium, a non-profit body of software companies, governments and individual experts that publishes the Unicode Standard, assigns code points to characters and releases a new version with new scripts and symbols from time to time.

Q2.Computer AwarenessHard

In the Unicode standard, the Devanagari block occupies the range

  1. A.U+0400 to U+047F
  2. B.U+0600 to U+067F
  3. C.U+0900 to U+097F
  4. D.U+0B00 to U+0B7F
Show answer
Correct answer: C. U+0900 to U+097F

This block of 128 code points holds the Devanagari consonants and independent vowels, the dependent vowel signs or matras, the virama, the nukta, the danda and double danda, and the Devanagari digits; characters added later sit in a separate Devanagari Extended block.

Q3.Computer AwarenessEasy

ISCII stands for

  1. A.Indian Script Code for Information Interchange
  2. B.Indian Standard Code for Internet Information
  3. C.International Script Code for Indian Interchange
  4. D.Indic Symbol Code for Information Indexing
Show answer
Correct answer: A. Indian Script Code for Information Interchange

ISCII was adopted by the Bureau of Indian Standards as IS 13194 in 1991; it is an 8-bit code whose lower 128 positions are the same as ASCII and whose upper 128 positions carry an Indian script, a single table serving ten scripts because they share the phonetic order inherited…

Q4.Computer AwarenessEasy

InScript, in the context of Indian language computing, is

  1. A.a Devanagari font
  2. B.a keyboard layout for Indian scripts
  3. C.a character encoding standard
  4. D.a word processing software
Show answer
Correct answer: B. a keyboard layout for Indian scripts

InScript, short for Indian Script, is the standard layout notified by the Government of India and built into Windows, Linux, macOS and Android; it places vowels and matras under the left hand and consonants under the right in the dictionary order of the script, so the same layout works for…

Q5.Computer AwarenessMedium

Kruti Dev is an example of

  1. A.a Unicode Devanagari font
  2. B.a non-Unicode or legacy Devanagari font
  3. C.an Indian keyboard layout
  4. D.a transliteration scheme
Show answer
Correct answer: B. a non-Unicode or legacy Devanagari font

Kruti Dev places Devanagari glyphs on the code positions of English letters, so the computer stores ordinary ASCII characters while the reader sees Hindi; open the file on a machine without that font and the text appears as meaningless Roman letters and symbols, and it cannot be searched or indexed.

Q6.Computer AwarenessMedium

Which of the following is a Unicode Devanagari font supplied with Microsoft Windows and commonly used in Hindi typing tests?

  1. A.Mangal
  2. B.DevLys
  3. C.Chanakya
  4. D.Kruti Dev
Show answer
Correct answer: A. Mangal

The correct answer is A, Mangal, the Devanagari Unicode font shipped with Windows and the font that government typing tests pair with the InScript layout; later Windows versions also carry Nirmala UI, Aparajita, Kokila and Utsaah as Unicode Devanagari fonts.

Q9.Computer AwarenessMedium

In Devanagari text, the virama or halant sign is used to

  1. A.lengthen a vowel sound
  2. B.remove the inherent vowel and allow conjuncts to form
  3. C.mark the end of a sentence
  4. D.change a consonant into a digit
Show answer
Correct answer: B. remove the inherent vowel and allow conjuncts to form

Every Devanagari consonant carries an inherent short vowel, and the virama cancels it, giving the bare consonant; when a bare consonant is followed by another consonant the rendering engine joins the two into a conjunct or half form, which is why the virama is the key character in Devanagari text…

Q10.Computer AwarenessMedium

The Technology Development for Indian Languages programme is run by which Union Ministry?

  1. A.Ministry of Education
  2. B.Ministry of Culture
  3. C.Ministry of Electronics and Information Technology
  4. D.Ministry of Information and Broadcasting
Show answer
Correct answer: C. Ministry of Electronics and Information Technology

The Technology Development for Indian Languages programme, known as TDIL, develops and distributes fonts, dictionaries, corpora, optical character recognition, speech and machine translation tools for Indian languages, and it maintains a data centre from which these resources are shared.

Q11.Computer AwarenessMedium

GIST technology and the LEAP Office Indian language software suite were developed by

  1. A.C-DAC, Pune
  2. B.ISRO, Bengaluru
  3. C.NIC, New Delhi
  4. D.DRDO, Hyderabad
Show answer
Correct answer: A. C-DAC, Pune

The correct answer is A, C-DAC, Pune, the Centre for Development of Advanced Computing, which besides building India's PARAM series of supercomputers created the GIST range of Indian language technology, including the add-on card and software that let ordinary computers display and print Indian scripts, and the LEAP Office suite…

Frequently Asked Questions

What is the difference between a Unicode font and a legacy font like Kruti Dev?

A Unicode font such as Mangal maps the real Devanagari code points, U+0900 onwards, to letter shapes, so the stored text really is Hindi and can be searched, sorted and read anywhere. Kruti Dev is a legacy font that draws Devanagari shapes on the code positions of English letters, so the stored text is really English characters wearing a Hindi mask; remove the font and the text becomes unreadable, and no search engine can index it.

Why is one InScript layout enough for all Indian scripts?

Because the major Indian scripts descend from Brahmi and keep the same phonetic order of vowels and consonants, the same key position can be assigned to the same sound in every script. InScript puts vowels and matras under the left hand and consonants under the right in that order, so a typist who has learnt Hindi InScript can switch to Marathi, Bengali or Telugu without learning new key positions.

How many bytes does a Hindi letter take in UTF-8?

Three bytes in the usual case. UTF-8 is a variable width encoding: code points up to U+007F take one byte, which is why English text in UTF-8 is identical to ASCII, the next range takes two bytes, the Devanagari range beginning at U+0900 takes three, and the characters beyond the Basic Multilingual Plane take four.

Which keyboard layout should a candidate choose for a Hindi typing test?

Government typing tests usually offer both Remington with a legacy font and InScript with Unicode Mangal, and the choice must be made before the test. Candidates trained on the old typewriter prefer Remington, while fresh learners find InScript easier because its arrangement is phonetic and because the Unicode text it produces can be used directly in e-mail and on websites. Always confirm the layouts allowed in the official notice.

Is ISCII still used?

It survives in older government applications, archives and some printing workflows, and the standard has not been withdrawn, but new software uses Unicode. Unicode can hold all Indian scripts at once along with every other script in the world, whereas an ISCII file must be told which script its upper 128 positions belong to, which makes multilingual documents awkward.

Sources

View all