On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTKernel-32
RTFiles-32
RTFiles-32 Programming Manual
RTFiles-32 Reference Manual
Introduction
General File I/O
Information about Files
File Attributes
Directories
Finding Files
File Name Operations
Disk and Volume Management
Miscellaneous File Functions
Raw I/O Functions
Functions for Debugging
Device Dependent Functions
Obsolete Functions
Disk Device Driver API
MTD Device Driver API
RTFiles-32 Error Codes
Code Page Reference
RTIP-32
RTPEG-32
RTUSB-32
|
Code Page Reference
Character values below 32 (hex 20) are non-printable control characters (e.g., carriage return, line feed, string terminate, etc). The ASCII table below lists the names of these characters.
Character values below 128 (hex 80) are identical in ASCII (all code pages) and in Unicode. They comprise the standard 7-bit ASCII character encoding. The first table below shows this character set.
Various code pages define how 8-bit character values in the range 128..255 (hex 80 to FF) are to be interpreted. Since Unicode defines unambiguous numeric values for each character, code pages are best described through their mapping to Unicode.
RTFiles-32 also supports UTF-8 as a pseudo code page through code page value 65001. With UTF-8, all characters have their standard Unicode value, but each one is represented as a sequence of 1, 2, or 3 bytes. Standard ASCII values (values less than hex 80) are represented as a single byte as their value. Character values in the range 0080h - 07FFh need 2 bytes; 0800h - FFFFh need 3 bytes. All bytes in 2 and 3 byte sequences have their most significant bit (bit 7) set. UTF-8 strings are 8 bit byte strings terminated with a 0 byte. Note however, that function strlen() applied to such a string returns the number of bytes the string occupies in memory, which may be more than the number of characters in the string.
The tables below show the characters defined in ASCII, code pages 437 and 1252 and also gives their respective Unicode mappings. Note that the display below may depend on the completeness of your installed fonts. Characters missing in the font used to display this page will probably display as "".
|
00h |
01h |
02h |
03h |
04h |
05h |
06h |
07h |
08h |
09h |
0Ah |
0Bh |
0Ch |
0Dh |
0Eh |
0Fh |
00h |
NUL |
SOH |
STX |
ETX |
EOT |
ENQ |
ACK |
BEL |
BS |
HT |
LF |
VT |
FF |
CR |
SO |
SI |
10h |
DLE |
DC1 |
DC2 |
DC3 |
DC4 |
NAK |
SYN |
ETB |
CAN |
EM |
SUB |
ESC |
FS |
GS |
RS |
US |
20h |
|
! |
" |
# |
$ |
% |
& |
' |
( |
) |
* |
+ |
, |
- |
. |
/ |
30h |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
: |
; |
< |
= |
> |
? |
40h |
@ |
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
50h |
P |
Q |
R |
S |
T |
U |
V |
W |
X |
Y |
Z |
[ |
\ |
] |
^ |
_ |
60h |
` |
a |
b |
c |
d |
e |
f |
g |
h |
i |
j |
k |
l |
m |
n |
o |
70h |
p |
q |
r |
s |
t |
u |
v |
w |
x |
y |
z |
{ |
| |
} |
~ |
|
Standard ASCII
|
00h |
01h |
02h |
03h |
04h |
05h |
06h |
07h |
08h |
09h |
0Ah |
0Bh |
0Ch |
0Dh |
0Eh |
0Fh |
80h |
Ç |
ü |
é |
â |
ä |
à |
å |
ç |
ê |
ë |
è |
ï |
î |
ì |
Ä |
Å |
90h |
É |
æ |
Æ |
ô |
ö |
ò |
û |
ù |
ÿ |
Ö |
Ü |
¢ |
£ |
¥ |
₧ |
ƒ |
A0h |
á |
í |
ó |
ú |
ñ |
Ñ |
ª |
º |
¿ |
⌐ |
¬ |
½ |
¼ |
¡ |
« |
» |
B0h |
░ |
▒ |
▓ |
│ |
┤ |
╡ |
╢ |
╖ |
╕ |
╣ |
║ |
╗ |
╝ |
╜ |
╛ |
┐ |
C0h |
└ |
┴ |
┬ |
├ |
─ |
┼ |
╞ |
╟ |
╚ |
╔ |
╩ |
╦ |
╠ |
═ |
╬ |
╧ |
D0h |
╨ |
╤ |
╥ |
╙ |
╘ |
╒ |
╓ |
╫ |
╪ |
┘ |
┌ |
█ |
▄ |
▌ |
▐ |
▀ |
E0h |
α |
ß |
Γ |
π |
Σ |
σ |
µ |
τ |
Φ |
Θ |
Ω |
δ |
∞ |
φ |
ε |
∩ |
F0h |
≡ |
± |
≥ |
≤ |
⌠ |
⌡ |
÷ |
≈ |
° |
∙ |
· |
√ |
ⁿ |
² |
■ |
|
OEM Code Page 437
|
00h |
01h |
02h |
03h |
04h |
05h |
06h |
07h |
08h |
09h |
0Ah |
0Bh |
0Ch |
0Dh |
0Eh |
0Fh |
80h |
€ |
|
‚ |
ƒ |
„ |
… |
† |
‡ |
ˆ |
‰ |
Š |
‹ |
Œ |
|
Ž |
|
90h |
|
‘ |
’ |
“ |
” |
• |
– |
— |
˜ |
™ |
š |
› |
œ |
|
ž |
Ÿ |
A0h |
|
¡ |
¢ |
£ |
¤ |
¥ |
¦ |
§ |
¨ |
© |
ª |
« |
¬ |
|
® |
¯ |
B0h |
° |
± |
² |
³ |
´ |
µ |
¶ |
· |
¸ |
¹ |
º |
» |
¼ |
½ |
¾ |
¿ |
C0h |
À |
Á |
 |
à |
Ä |
Å |
Æ |
Ç |
È |
É |
Ê |
Ë |
Ì |
Í |
Î |
Ï |
D0h |
Ð |
Ñ |
Ò |
Ó |
Ô |
Õ |
Ö |
× |
Ø |
Ù |
Ú |
Û |
Ü |
Ý |
Þ |
ß |
E0h |
à |
á |
â |
ã |
ä |
å |
æ |
ç |
è |
é |
ê |
ë |
ì |
í |
î |
ï |
F0h |
ð |
ñ |
ò |
ó |
ô |
õ |
ö |
÷ |
ø |
ù |
ú |
û |
ü |
ý |
þ |
ÿ |
ANSI Code Page 1252 (ISO 8859-1, Latin-1)
|
00h |
01h |
02h |
03h |
04h |
05h |
06h |
07h |
08h |
09h |
0Ah |
0Bh |
0Ch |
0Dh |
0Eh |
0Fh |
80h |
00C7h |
00FCh |
00E9h |
00E2h |
00E4h |
00E0h |
00E5h |
00E7h |
00EAh |
00EBh |
00E8h |
00EFh |
00EEh |
00ECh |
00C4h |
00C5h |
90h |
00C9h |
00E6h |
00C6h |
00F4h |
00F6h |
00F2h |
00FBh |
00F9h |
00FFh |
00D6h |
00DCh |
00A2h |
00A3h |
00A5h |
20A7h |
0192h |
A0h |
00E1h |
00EDh |
00F3h |
00FAh |
00F1h |
00D1h |
00AAh |
00BAh |
00BFh |
2310h |
00ACh |
00BDh |
00BCh |
00A1h |
00ABh |
00BBh |
B0h |
2591h |
2592h |
2593h |
2502h |
2524h |
2561h |
2562h |
2556h |
2555h |
2563h |
2551h |
2557h |
255Dh |
255Ch |
255Bh |
2510h |
C0h |
2514h |
2534h |
252Ch |
251Ch |
2500h |
253Ch |
255Eh |
255Fh |
255Ah |
2554h |
2569h |
2566h |
2560h |
2550h |
256Ch |
2567h |
D0h |
2568h |
2564h |
2565h |
2559h |
2558h |
2552h |
2553h |
256Bh |
256Ah |
2518h |
250Ch |
2588h |
2584h |
258Ch |
2590h |
2580h |
E0h |
03B1h |
00DFh |
0393h |
03C0h |
03A3h |
03C3h |
00B5h |
03C4h |
03A6h |
0398h |
03A9h |
03B4h |
221Eh |
03C6h |
03B5h |
2229h |
F0h |
2261h |
00B1h |
2265h |
2264h |
2320h |
2321h |
00F7h |
2248h |
00B0h |
2219h |
00B7h |
221Ah |
207Fh |
00B2h |
25A0h |
00A0h |
OEM Code Page 437 Unicode Mapping
|
00h |
01h |
02h |
03h |
04h |
05h |
06h |
07h |
08h |
09h |
0Ah |
0Bh |
0Ch |
0Dh |
0Eh |
0Fh |
80h |
20ACh |
0081h |
201Ah |
0192h |
201Eh |
2026h |
2020h |
2021h |
02C6h |
2030h |
0160h |
2039h |
0152h |
008Dh |
017Dh |
008Fh |
90h |
0090h |
2018h |
2019h |
201Ch |
201Dh |
2022h |
2013h |
2014h |
02DCh |
2122h |
0161h |
203Ah |
0153h |
009Dh |
017Eh |
0178h |
A0h |
00A0h |
00A1h |
00A2h |
00A3h |
00A4h |
00A5h |
00A6h |
00A7h |
00A8h |
00A9h |
00AAh |
00ABh |
00ACh |
00ADh |
00AEh |
00AFh |
B0h |
00B0h |
00B1h |
00B2h |
00B3h |
00B4h |
00B5h |
00B6h |
00B7h |
00B8h |
00B9h |
00BAh |
00BBh |
00BCh |
00BDh |
00BEh |
00BFh |
C0h |
00C0h |
00C1h |
00C2h |
00C3h |
00C4h |
00C5h |
00C6h |
00C7h |
00C8h |
00C9h |
00CAh |
00CBh |
00CCh |
00CDh |
00CEh |
00CFh |
D0h |
00D0h |
00D1h |
00D2h |
00D3h |
00D4h |
00D5h |
00D6h |
00D7h |
00D8h |
00D9h |
00DAh |
00DBh |
00DCh |
00DDh |
00DEh |
00DFh |
E0h |
00E0h |
00E1h |
00E2h |
00E3h |
00E4h |
00E5h |
00E6h |
00E7h |
00E8h |
00E9h |
00EAh |
00EBh |
00ECh |
00EDh |
00EEh |
00EFh |
F0h |
00F0h |
00F1h |
00F2h |
00F3h |
00F4h |
00F5h |
00F6h |
00F7h |
00F8h |
00F9h |
00FAh |
00FBh |
00FCh |
00FDh |
00FEh |
00FFh |
ANSI Code Page 1252 Unicode Mapping
RTFiles-32 Error Codes
|