Skip to Content
Mac OS X in a Nutshell
book

Mac OS X in a Nutshell

by Jason McIntosh, Chuck Toporek, Chris Stone
January 2003
Intermediate to advanced
832 pages
32h 40m
English
O'Reilly Media, Inc.
Content preview from Mac OS X in a Nutshell

Text Encodings

At the lowest level, all text files (and strings of individual text within lager files) are just sequences of binary numbers. By knowing about the file’s text encoding , the operating system can convert these numbers into readable text, which it can then display by applying an appropriate font to them.

Because of its capacity to contain all written languages and common symbols that modern humans use (with room to spare), Unicode is considered Mac OS X’s native text encoding. Specifically, Mac OS X supports Unicode’s UTF-16 (fixed 16-bit) and UTF-8 (variable-length) encodings. (See the next section for a brief introduction to Unicode encodings.)

Mac OS X also ships with support for proprietary text encodings; those available on a given Mac depend on the language bundles selected at install time.

Unicode on Mac OS X

After a couple decades of development, the Unicode character-encoding architecture is now being rapidly adopted as a standard by all manner of information technologies, from data format standards such as XML to entire operating systems such as OS X. By its ability to contain all human alphabets, punctuation, ideograms, and other written symbols in a single, very large character set, Unicode makes character encoding relatively simple to implement.

We refer to Unicode as not just a character encoding, but a character-encoding architecture because it encompasses a single character set and several ways to encode the characters within it. The set is simply a ...

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.
Start your free trial

You might also like

Mac OS X Internals: A Systems Approach

Mac OS X Internals: A Systems Approach

Amit Singh
C++ In a Nutshell

C++ In a Nutshell

Ray Lischner
Linux Shell Scripting Cookbook - Third Edition

Linux Shell Scripting Cookbook - Third Edition

Clif Flynt, Sarath Lakshman, Shantanu Tushar
Optimized C++

Optimized C++

Kurt Guntheroth

Publisher Resources

ISBN: 0596003706Supplemental ContentCatalog PageErrata