summaryrefslogtreecommitdiff
path: root/Solaris/386
diff options
context:
space:
mode:
Diffstat (limited to 'Solaris/386')
-rw-r--r--Solaris/386/include/lib9.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Solaris/386/include/lib9.h b/Solaris/386/include/lib9.h
index 3e12aa8b..d85114fd 100644
--- a/Solaris/386/include/lib9.h
+++ b/Solaris/386/include/lib9.h
@@ -53,10 +53,12 @@ typedef unsigned long long uint64;
enum
{
- UTFmax = 3, /* maximum bytes per rune */
+ UTFmax = 4, /* maximum bytes per rune */
Runesync = 0x80, /* cannot represent part of a UTF sequence (<) */
Runeself = 0x80, /* rune and UTF sequences are the same (<) */
- Runeerror = 0x80 /* decoding error in UTF */
+ Runeerror = 0xFFFD, /* decoding error in UTF */
+ Runemax = 0x10FFFF, /* 21-bit rune */
+ Runemask = 0x1FFFFF, /* bits used by runes (see grep) */
};
/*