Docsity

ASCII AND UNICODE DOCUMENT, Summaries of Computer Applications

Toggle sidebar
bg1
ASCII AND
UNICODE
ASCII and Unicode are both character encoding systems used to
represent text in computers—but they differ a lot in scope and
capability.
🔤 ASCII (American Standard Code for Information Interchange)
Developed in the 1960s
Uses 7 bits → can represent 128 characters
Includes:
English letters (A–Z, a–z)
Digits (0–9)
Basic symbols (!, @, #, etc.)
Control characters (like newline)
🔤 Example:
A = 65
a = 97
0 = 48
🔤 Advantages:
pf3
pf4
pf5

Partial preview of the text

Download ASCII AND UNICODE DOCUMENT and more Summaries Computer Applications in PDF only on Docsity!

ASCII AND

UNICODE

ASCII and Unicode are both character encoding systems used to represent text in computers—but they differ a lot in scope and capability. 🔤 ASCII (American Standard Code for Information Interchange) Developed in the 1960s Uses 7 bits → can represent 128 characters Includes: English letters (A–Z, a–z) Digits (0–9) Basic symbols (!, @, #, etc.) Control characters (like newline) 🔤 Example: A = 65 a = 97 0 = 48 🔤 Advantages:

Simple and fast Uses less memory 🔤 Limitations: Only supports English characters Cannot represent most global languages or special symbols 🔤 Unicode Developed to support all languages and symbols worldwide Uses multiple encoding formats like: UTF-8 (most common) UTF- UTF- Can represent over 1 million characters 🔤 Example: A = U+ € (Euro sign) = U+20AC 😊 = U+1F60A 🔤 Advantages: Supports all languages (Hindi, Malayalam, Chinese, etc.) Includes emojis and special symbols Universal standard 🔤 Limitations:

all practical purposes it’s an eight bit code, where eighth bit is added for parity Unicode is a computing industry standard for the consistent encoding, representation and handling of text expressed in most of the world's writing systems. Developed in conjunction with the Universal Character Set standard and published in book form as The Unicode Standard, the latest version of Unicode consists of a repertoire of more than 107,000 characters covering 90 scripts, a set of code charts for visual reference, an encoding methodology and set of standard character encodings, an enumeration of character properties such as upper and lower case, a set of reference data computer files, and a number of related items, such as character properties, rules for normalization, decomposition, collation, rendering, and bidirectional display order (for the correct display of text containing both right-to-left scripts, such as Arabic and Hebrew, and leftto-right scripts. Unicode can be implemented by different character encodings. The most commonly used encodings are UTF-8 (which uses one byte for any ASCII characters, which have the same code values in both UTF-8 and ASCII encoding, and up to four bytes for other characters), the now-obsolete UCS-2 (which uses two bytes for each character but cannot encode every character in the current Unicode standard), and UTF16 (which extends UCS-2 to handle code points beyond the scope of UCS-2). The Unicode Consortium, the nonprofit organization that coordinates Unicode's

development, has the ambitious goal of eventually replacing existing character encoding schemes with Unicode and its standard Unicode Transformation Format (UTF) schemes, as many of the existing schemes are limited in size and scope and are incompatible with multilingual environments. Unicode's success at unifying character sets has led to its widespread and predominant use in the internationalization and localization of computer software. The standard has been implemented in many recent technologies, including XML, the Java programming language, the Microsoft .NET Framework, and modern operating systems.