Skip to Content
Unicode Explained
book

Unicode Explained

by Jukka K. Korpela
June 2006
Beginner
688 pages
26h 18m
English
O'Reilly Media, Inc.
Content preview from Unicode Explained
ing, which is very common in the Western world, has only one registered name, win-
dows-1252, but it is often declared as cp-1252 or cp1252.
The case of letters is not significant in character encoding names. Thus, “ASCII” and
“Ascii” are equivalent. Hyphens, on the other hand, are significant in the names.
Single-Octet Encodings
For a character repertoire that contains at most 256 characters, there is a simple and
obvious way of encoding it: assign a number in the range 0–255 to each character and
use an octet with that value to represent that character. Such encodings, called single-
octet or 8-bit encodings, are widely used and will remain important. There is still a large
amount of software that assumes that each character is represented as one octet.
Various historical reasons dictate the assignments of numbers to characters in a single-
octet encoding. Usually letters A–Z are in alphabetic order and digits are in numeric
order, but the assignments are otherwise more or less arbitrary. Besides, any extra Latin
letters, as used in many languages, are most probably assigned to whatever positions
that were “free” in some sense. Thus, if you compare characters by their code numbers
in a single-octet encoding, you will generally not get the right alphabetic ordering by
the rules of, for example, French or German.
Multi-Octet Encodings
As you may guess, the next simpler idea of using two octets ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Unicode Demystified

Unicode Demystified

Richard Gillam
Fonts & Encodings

Fonts & Encodings

Yannis Haralambous
The Java® Language Specification, Java SE 8 Edition

The Java® Language Specification, Java SE 8 Edition

James Gosling, Bill Joy, Guy L. Steele Jr., Gilad Bracha, Alex Buckley

Publisher Resources

ISBN: 059610121XCatalog PageErrata