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 Macintosh 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.
| Mac OS Roman | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| —0 | —1 | —2 | —3 | —4 | —5 | —6 | —7 | —8 | —9 | —A | —B | —C | —D | —E | —F | |
| 0− |
NUL 0x00 |
SOH 0x01 |
STX 0x02 |
ETX 0x03 |
EOT 0x04 |
ENQ 0x05 |
ACK 0x06 |
BEL 0x07 |
BS 0x08 |
HT 0x09 |
LF 0x0A |
VT 0x0B |
FF 0x0C |
CR 0x0D |
SO 0x0E |
SI 0x0F |
| 1− |
DLE 0x10 |
DC1 0x11 |
DC2 0x12 |
DC3 0x13 |
DC4 0x14 |
NAK 0x15 |
SYN 0x16 |
ETB 0x17 |
CAN 0x18 |
EM 0x19 |
SUB 0x1A |
ESC 0x1B |
FS 0x1C |
GS 0x1D |
RS 0x1E |
US 0x1F |
| 2− |
SP 0x20 |
! 0x21 |
" 0x22 |
# 0x23 |
$ 0x24 |
% 0x25 |
& 0x26 |
' 0x27 |
( 0x28 |
) 0x29 |
* 0x2A |
+ 0x2B |
, 0x2C |
- 0x2D |
. 0x2E |
/ 0x2F |
| 3− |
0 0x30 |
1 0x31 |
2 0x32 |
3 0x33 |
4 0x34 |
5 0x35 |
6 0x36 |
7 0x37 |
8 0x38 |
9 0x39 |
: 0x3A |
; 0x3B |
< 0x3C |
= 0x3D |
> 0x3E |
? 0x3F |
| 4− |
@ 0x40 |
A 0x41 |
B 0x42 |
C 0x43 |
D 0x44 |
E 0x45 |
F 0x46 |
G 0x47 |
H 0x48 |
I 0x49 |
J 0x4A |
K 0x4B |
L 0x4C |
M 0x4D |
N 0x4E |
O 0x4F |
| 5− |
P 0x50 |
Q 0x51 |
R 0x52 |
S 0x53 |
T 0x54 |
U 0x55 |
V 0x56 |
W 0x57 |
X 0x58 |
Y 0x59 |
Z 0x5A |
[ 0x5B |
\ 0x5C |
] 0x5D |
^ 0x5E |
_ 0x5F |
| 6− |
` 0x60 |
a 0x61 |
b 0x62 |
c 0x63 |
d 0x64 |
e 0x65 |
f 0x66 |
g 0x67 |
h 0x68 |
i 0x69 |
j 0x6A |
k 0x6B |
l 0x6C |
m 0x6D |
n 0x6E |
o 0x6F |
| 7− |
p 0x70 |
q 0x71 |
r 0x72 |
s 0x73 |
t 0x74 |
u 0x75 |
v 0x76 |
w 0x77 |
x 0x78 |
y 0x79 |
z 0x7A |
{ 0x7B |
| 0x7C |
} 0x7D |
~ 0x7E |
DEL 0x7F |
| 8− |
Ä 0x80 |
Å 0x81 |
Ç 0x82 |
É 0x83 |
Ñ 0x84 |
Ö 0x85 |
Ü 0x86 |
á 0x87 |
à 0x88 |
â 0x89 |
ä 0x8A |
ã 0x8B |
å 0x8C |
ç 0x8D |
é 0x8E |
è 0x8F |
| 9− |
ê 0x90 |
ë 0x91 |
í 0x92 |
ì 0x93 |
î 0x94 |
ï 0x95 |
ñ 0x96 |
ó 0x97 |
ò 0x98 |
ô 0x99 |
ö 0x9A |
õ 0x9B |
ú 0x9C |
ù 0x9D |
û 0x9E |
ü 0x9F |
| A− |
† 0xA0 |
° 0xA1 |
¢ 0xA2ISO |
£ 0xA3ISO |
§ 0xA4 |
• 0xA5 |
¶ 0xA6 |
ß 0xA7 |
® 0xA8 |
© 0xA9ISO |
™ 0xAA |
´ 0xAB |
¨ 0xAC |
≠ 0xAD |
Æ 0xAE |
Ø 0xAF |
| B− |
∞ 0xB0 |
± 0xB1ISO |
≤ 0xB2 |
≥ 0xB3 |
¥ 0xB4 |
µ 0xB5ISO |
∂ 0xB6 |
∑ 0xB7 |
∏ 0xB8 |
π 0xB9 |
∫ 0xBA |
ª 0xBB |
º 0xBC |
Ω 0xBD |
æ 0xBE |
ø 0xBF |
| C− |
¿ 0xC0 |
¡ 0xC1 |
¬ 0xC2 |
√ 0xC3 |
ƒ 0xC4 |
≈ 0xC5 |
∆ 0xC6 |
« 0xC7 |
» 0xC8 |
… 0xC9 |
NBSP 0xCA |
À 0xCB |
à 0xCC |
Õ 0xCD |
Œ 0xCE |
œ 0xCF |
| D− |
– 0xD0 |
— 0xD1 |
“ 0xD2 |
” 0xD3 |
‘ 0xD4 |
’ 0xD5 |
÷ 0xD6 |
◊ 0xD7 |
ÿ 0xD8 |
Ÿ 0xD9 |
⁄ 0xDA |
€ 0xDB[¤] |
‹ 0xDC |
› 0xDD |
fi 0xDE |
fl 0xDF |
| E− |
‡ 0xE0 |
· 0xE1 |
‚ 0xE2 |
„ 0xE3 |
‰ 0xE4 |
 0xE5 |
Ê 0xE6 |
Á 0xE7 |
Ë 0xE8 |
È 0xE9 |
Í 0xEA |
Î 0xEB |
Ï 0xEC |
Ì 0xED |
Ó 0xEE |
Ô 0xEF |
| F− |
Apple 0xF0 |
Ò 0xF1 |
Ú 0xF2 |
Û 0xF3 |
Ù 0xF4 |
ı 0xF5 |
ˆ 0xF6 |
˜ 0xF7 |
¯ 0xF8 |
˘ 0xF9 |
˙ 0xFA |
˚ 0xFB |
¸ 0xFC |
˝ 0xFD |
˛ 0xFE |
ˇ 0xFF |
^¤ Before Mac OS 8.5, the character 0xDB mapped to currency sign (¤), but this was changed to euro currency (€), Unicode 20AC, Decimal 8364, Name Euro sign.
^ISO Characters that are the same between MacRoman and ISO-8859-1. ^ The per mille sign is mappable to 0xE4 if your font doesn't contain a per mille sign.
[edit] See also
[edit] External links
- http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/ROMAN.TXT
- http://developer.apple.com/documentation/mac/Text/Text-30.html#HEADING30-9 Description of Mac OS Roman
[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.
|
||||||||||||||||||||

