Blob


1 /*
2 *
3 * Rune declarations - for supporting UTF encoding.
4 *
5 */
7 #define RUNELIB 1
9 #ifdef RUNELIB
10 typedef unsigned short Rune;
12 enum
13 {
14 UTFmax = 3, /* maximum bytes per rune */
15 Runesync = 0x80, /* cannot represent part of a utf sequence (<) */
16 Runeself = 0x80, /* rune and utf sequences are the same (<) */
17 Runeerror = 0x80, /* decoding error in utf */
18 };
19 #endif