Every time you search a PDF, copy a sentence from an e-book, or paste a quote into your assignment, you are relying on something called digital text. It looks the same as printed text on screen, but underneath it is stored as numbers that a computer can read, search, and rearrange. Understanding how letters become numbers, how scanned pages turn into editable words, and how this powers modern documents is central to information science. This post breaks down the systems that make digital text work.
Table of Contents
- What digital text actually is
- Character encoding systems: how computers store letters
- ASCII: the original standard
- Unicode: one code for every script
- Encoding Indian scripts: from ISCII to Unicode
- From printed to digital text
- How OCR works step by step
- OCR in Indian libraries and archives
- Digital text in modern documents
- Searchable documents
- Editable and reusable text
- Linkable text and hypertext
- Why digital text matters for information work
What digital text actually is
Digital text is text stored as a sequence of numeric codes rather than as a picture of letters. A scanned image of a page may show words, but the computer only sees pixels. It cannot tell where one word ends or search for a phrase inside it. Digital text is different. Each character is recorded as a number, so software can count words, find matches, change fonts, and link sections together. This single shift, from images of letters to coded characters, is what allows libraries, search engines, and word processors to handle billions of documents efficiently.
Character encoding systems: how computers store letters
Computers work only with numbers, so every letter, digit, and symbol must be mapped to a numeric value. This mapping is called character encoding. The encoding system decides which number stands for “A”, which stands for a comma, and which stands for a space. When you press a key, the computer stores the matching code, and when it displays text, it converts that code back into a visible shape called a glyph. Two encoding systems matter most in this story: ASCII and Unicode.
ASCII: the original standard
ASCII stands for American Standard Code for Information Interchange. Introduced in the 1960s, it uses 7 bits to represent 128 characters, covering the English alphabet, digits, punctuation, and control commands. Each character gets a fixed number; for example, capital “A” is 65 and capital “B” is 66. When text is encoded in ASCII, each character is converted to its number and then stored as binary digits. Because it was simple and widely supported, ASCII became the foundation for almost every later encoding system. An extended 8-bit version added another 128 codes to reach 256 characters.
The limitation was obvious. ASCII was built around English. It had no room for accented letters, and certainly no room for the hundreds of scripts used across the world, including Devanagari, Bengali, or Tamil. Different countries created their own incompatible extensions, so a file made on one machine often appeared as garbage on another. A universal solution was needed.
Unicode: one code for every script
Unicode was created to solve this problem. Maintained by the Unicode Consortium, its goal is to give a unique number, called a code point, to every character in every writing system. Unicode now defines more than 150,000 characters drawn from over 150 modern and historic scripts, along with symbols and emoji. A code point is written as “U+” followed by a hexadecimal value, so “A” is U+0041.
Unicode separates two ideas. It decides which number each character gets, while encoding formats called UTF (Unicode Transformation Format) decide how those numbers are stored as bytes. The most common is UTF-8, a variable-width format that stays backward-compatible with ASCII and is now used by the overwhelming majority of web pages. Crucially, Unicode includes the original ASCII set, so older content remains readable. This is why a modern document can mix English, Hindi, and a mathematical symbol in the same line without breaking.
Encoding Indian scripts: from ISCII to Unicode
Before Unicode became dominant, the need to represent Indian languages digitally led to a national standard. The Indian Script Code for Information Interchange (ISCII) was developed by the Bureau of Indian Standards in the late 1980s. It is an 8-bit scheme in which the lower 128 codes are plain ASCII and the upper 128 carry Indic characters. ISCII was designed so that one common layout could represent several Brahmi-derived scripts, including Devanagari, Bengali, Gujarati, Gurmukhi, Kannada, Malayalam, Oriya, Tamil, and Telugu, because these scripts share a similar structure.
ISCII never spread widely beyond certain government institutions and has now been largely replaced by Unicode. Importantly, Unicode did not discard this work. The arrangement of Indic scripts in Unicode is based on the ISCII standard, with each script placed in its own block. The Devanagari block, for instance, occupies the range U+0900 to U+097F and is used for Hindi, Sanskrit, Marathi, and Nepali. This continuity allowed earlier digital work in Indian languages to flow smoothly into the global standard.
From printed to digital text
Most knowledge created before the digital era exists on paper. Converting these books, manuscripts, and records into searchable digital text is one of the central tasks of modern libraries. The key technology that makes this possible is Optical Character Recognition.
How OCR works step by step
OCR is the process of converting an image of text into machine-readable text. When you scan a page, the computer saves it as an image, and in that form you cannot edit, search, or count the words. OCR analyses the image and reconstructs the actual characters as digital text. The process generally follows a clear sequence.
First comes image acquisition, where a scanner or camera captures the page and the software often converts it to a black-and-white version, treating dark areas as potential characters and light areas as background. Next is preprocessing, which cleans the image by removing stray pixels, correcting skew from crooked scanning, and removing lines or boxes, as described by IBM. The image is then segmented into individual lines, words, and characters.
The core step is character recognition, which uses two main techniques. Pattern matching isolates a character shape, called a glyph, and compares it against stored glyphs of known fonts. Feature extraction instead breaks each character into elements such as lines, curves, and intersections and identifies it from those features, which works better across varied fonts. Finally, post-processing corrects likely errors and saves the result as an editable file or a searchable PDF. Modern systems increasingly use machine learning to improve accuracy, and accuracy still depends heavily on the quality of the original scan.
OCR in Indian libraries and archives
This technology is the engine behind large digitisation efforts. The National Library of India, under the Ministry of Culture, is a permanent depository of printed material published in the country and maintains collections of digitised documents. At a national scale, the National Digital Library of India (NDLI), sponsored by the Ministry of Education and hosted at IIT Kharagpur, brings together learning resources through a single-window search facility. Research connected to NDLI has involved OCR, handwriting recognition, and transliteration for multiple Indian languages, with search currently supported in Hindi, Bengali, and English. Without reliable OCR, none of this content would be searchable.
Digital text in modern documents
Once text exists as coded characters, it gains abilities that printed text never had. Three of these stand out: documents become searchable, editable, and linkable.
Searchable documents
Because each character is a number, software can scan an entire document and find every place a word appears in a fraction of a second. This is why a searchable PDF behaves so differently from a scanned image. A library catalogue can index thousands of full-text documents and return precise matches. The NDLI uses filtered and federated searching so learners can narrow results by subject, level, and resource type, something only possible when content is stored as structured digital text and metadata rather than as flat images.
Editable and reusable text
Digital text can be changed without retyping. You can correct a spelling, change the font, reorder paragraphs, or copy a passage into another file. Organisations routinely turn printed legal and historical records into editable digital documents precisely so the content can be edited, formatted, and searched. This reuse is the basis of data extraction too, where information from forms and invoices is pulled out automatically and fed into databases, removing the slow and error-prone step of manual entry.
Linkable text and hypertext
Digital text can point to other text. A hyperlink connects a word or phrase to another document, page, or resource, turning isolated files into a connected web of knowledge. In a digital library, a citation can link directly to the source it references, and a catalogue entry’s metadata may include links that direct users to the actual content held by a partner repository. This linking is what transforms a collection of separate documents into a navigable network, and it depends entirely on text being stored as addressable, coded characters rather than as pictures.
Why digital text matters for information work
Digital text sits at the foundation of almost every modern information service. Encoding standards like ASCII and Unicode ensure that a file created on one device displays correctly on another, including content in Indian scripts. OCR brings centuries of printed heritage into a form that can be preserved and searched. And the searchable, editable, linkable nature of digital text is what makes catalogues, repositories, and digital libraries usable at scale. For anyone working in library and information science, understanding these layers explains both how information is stored today and why some older or poorly scanned materials remain difficult to access.
What do you think? If a rare manuscript in a regional Indian script is scanned but the OCR cannot accurately recognise its characters, is it truly “digital text” or just a digital image? And as more of our reading shifts to searchable, linkable formats, what might we lose when we stop engaging with text in its original printed form?
References
- https://www.geeksforgeeks.org/operating-systems/ascii-vs-unicode/
- https://spectralops.io/blog/ascii-vs-unicode-a-full-tutorial/
- https://www.unicode.org/versions/Unicode16.0.0/core-spec/chapter-12/
- https://en.wikipedia.org/wiki/Indian_Script_Code_for_Information_Interchange
- https://en.wikipedia.org/wiki/Devanagari_(Unicode_block)
- https://aws.amazon.com/what-is/ocr/
- https://www.ibm.com/think/topics/optical-character-recognition
- https://www.adobe.com/acrobat/guides/what-is-ocr.html
- https://nationallibrary.gov.in/
- https://www.ndl.gov.in/
- https://cacm.acm.org/research/national-digital-library-of-india/
- https://project.ndl.gov.in/

Leave a Reply