U+CFFF 0xecbfbf <?><?> end of last normal middle byte
U+D000 0xed8080 <?><?> begin of strange middle byte
U+D7FF 0xed9fbf <?><?> highest public three-byte
- U+D800 0xeda080 <?>??? lowest surrogate
- U+DFFF 0xedbfbf <?>??? highest surrogate
+ U+D800 0xeda080 ??? lowest surrogate
+ U+DFFF 0xedbfbf ??? highest surrogate
U+E000 0xee8080 <?><?> lowest private use
U+FFFF 0xefbfbf <?><?> highest three-byte
mandoc: input.in:41:25: ERROR: skipping bad character: 0xed
mandoc: input.in:41:26: ERROR: skipping bad character: 0xa0
mandoc: input.in:41:27: ERROR: skipping bad character: 0x80
+mandoc: input.in:41:17: WARNING: invalid escape sequence: \[uD800]
mandoc: input.in:42:25: ERROR: skipping bad character: 0xed
mandoc: input.in:42:26: ERROR: skipping bad character: 0xbf
mandoc: input.in:42:27: ERROR: skipping bad character: 0xbf
+mandoc: input.in:42:17: WARNING: invalid escape sequence: \[uDFFF]
mandoc: input.in:50:19: ERROR: skipping bad character: 0xf0
mandoc: input.in:50:20: ERROR: skipping bad character: 0x80
mandoc: input.in:50:21: ERROR: skipping bad character: 0x80
U+CFFF 0xecbfbf ì¿¿ì¿¿ end of last normal middle byte
U+D000 0xed8080 퀀퀀 begin of strange middle byte
U+D7FF 0xed9fbf ퟿퟿ highest public three-byte
- U+D800 0xeda080 í €??? lowest surrogate
- U+DFFF 0xedbfbf í¿¿??? highest surrogate
+ U+D800 0xeda080 ??? lowest surrogate
+ U+DFFF 0xedbfbf ??? highest surrogate
U+E000 0xee8080  lowest private use
U+FFFF 0xefbfbf ï¿¿ï¿¿ highest three-byte
-/* $OpenBSD: mandoc.c,v 1.63 2015/10/12 00:07:27 schwarze Exp $ */
+/* $OpenBSD: mandoc.c,v 1.64 2015/10/13 23:30:42 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2015 Ingo Schwarze <schwarze@openbsd.org>
break;
if (*sz == 6 && (*start)[1] == '0')
break;
+ if (*sz == 5 && (*start)[1] == 'D' &&
+ strchr("89ABCDEF", (*start)[2]) != NULL)
+ break;
if ((int)strspn(*start + 1, "0123456789ABCDEFabcdef")
+ 1 == *sz)
gly = ESCAPE_UNICODE;