diff options
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +typedef unsigned long unicode; +/* must be big enough to store codes up to UMAX */ + +#define UMAX 0x10ffff /* last unicode value */ +#define BMPMAX 0xffff + +#include <stdio.h> +unicode fromUTF8(FILE *); +void outUTF8(unicode, FILE *); |