commit 2c39bc676f1f650539399d5b377cab9232fcfdee
parent 3dcddd8019a5a6230e68b8c74defad5ea82d9017
Author: Sebastian <sebastian@sebsite.pw>
Date: Sat, 9 Apr 2022 15:00:02 -0400
utf8: remove inaccurate comment
UTF-8 doesn't support 6-byte codepoints.
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/utf8.h b/include/utf8.h
@@ -1,8 +1,6 @@
#ifndef HAREC_UTF8_H
#define HAREC_UTF8_H
-// Technically UTF-8 supports up to 6 byte codepoints, but Unicode itself
-// doesn't really bother with more than 4.
#define UTF8_MAX_SIZE 4
#define UTF8_INVALID 0x80