blob: 0e7d0cb6e4ea5bc15e0750656ca3cacdd9fa5ef1 [file] [log] [blame]
/*
*
* Rune declarations - for supporting UTF encoding.
*
*/
#define RUNELIB 1
#ifdef RUNELIB
typedef unsigned short Rune;
enum
{
UTFmax = 3, /* maximum bytes per rune */
Runesync = 0x80, /* cannot represent part of a utf sequence (<) */
Runeself = 0x80, /* rune and utf sequences are the same (<) */
Runeerror = 0xFFFD /* decoding error in utf */
};
#endif