From: Andreas Schwab Date: 2019-01-31 12:45:09+0100 Don't depend on the signedness of char. --- ell/utf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: ell-0.17/ell/utf8.c =================================================================== --- ell-0.17.orig/ell/utf8.c +++ ell-0.17/ell/utf8.c @@ -93,7 +93,7 @@ LIB_EXPORT int l_utf8_get_codepoint(cons if (len == 0) return 0; - if (str[0] > 0) { + if ((str[0] & 0x80) == 0) { *cp = str[0]; return 1; }