Mac OS Roman

From Wikipedia, the free encyclopedia

Mac OS Roman is a character encoding primarily used by Mac OS to represent text. It encodes 256 characters, the first 128 of which are identical to ASCII, with the remaining characters including mathematical symbols, diacritics, and additional punctuation marks. It is suitable for use to represent English and several other Western languages. Mac OS Roman is a superset of the original Macintosh character set, used in System 1.

The Internet Assigned Numbers Authority identifies this encoding using the string "macintosh." The MIME Content-Type for this encoding is therefore "text/plain; charset=macintosh". Mac OS Roman is also referred to as MacRoman or the Apple Standard Roman character set.

With the release of Mac OS X, Mac OS Roman was replaced by UTF-8 as the standard character encoding for the Macintosh operating system.

Contents

[edit] Codepage layout

The following table shows how characters are encoded in Mac OS Roman. Each character is assigned a number from 0-255. The table shows the number in hexadecimal with the least-significant digit providing the column headings and the most-significant digit providing the row headings. Highlighted characters in the high area are the same between MacRoman and ISO-8859-1.

Mac OS Roman
x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF
0x NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI
1x DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US
2x SP ! " # $ % & ' ( ) * + , - . /
3x 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
4x @ A B C D E F G H I J K L M N O
5x P Q R S T U V W X Y Z [ \ ] ^ _
6x ` a b c d e f g h i j k l m n o
7x p q r s t u v w x y z { | } ~ DEL
8x Ä Å Ç É Ñ Ö Ü á à â ä ã å ç é è
9x ê ë í ì î ï ñ ó ò ô ö õ ú ù û ü
Ax ° ¢ £ § ß ® © ´ ¨ Æ Ø
Bx ± ¥ µ π ª º Ω æ ø
Cx ¿ ¡ ¬ ƒ « » NBSP À Ã Õ Œ œ
Dx ÷ ÿ Ÿ 1
Ex · Â Ê Á Ë È Í Î Ï Ì Ó Ô
Fx 2 Ò Ú Û Ù ı ˆ ˜ ¯ ˘ ˙ ˚ ¸ ˝ ˛ ˇ
  1. Before Mac OS 8.5, the character 0xDB mapped to currency sign (¤), but this was changed to euro currency (€).
  2. This character is the Apple logo.

[edit] See also

[edit] External links

[edit] References

  • Apple Computer, Inc. (1993). Inside Macintosh: Text. New York: Addison-Wesley. ISBN 0-201-63298-5.
  • Apple Computer, Inc. (1985). Inside Macintosh Volume I. New York: Addison-Wesley. ISBN 0-201-17731-5.