|
|
1.1 root 1: /*
2: *
3: * Rune declarations - for supporting UTF encoding.
4: *
5: */
6:
7: #define RUNELIB 1
8:
9: #ifdef RUNELIB
10: typedef unsigned short Rune;
11:
12: enum
13: {
14: UTFmax = 3, /* maximum bytes per rune */
15: Runesync = 0x21, /* cannot represent part of a utf sequence (<) */
16: Runeself = 0xA0, /* rune and utf sequences are the same (<) */
17: Runeerror = 0x80, /* decoding error in utf */
18: };
19: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.