diff --git a/m-string.h b/m-string.h index e2f31489..8954285e 100644 --- a/m-string.h +++ b/m-string.h @@ -851,6 +851,7 @@ static inline void stringi_utf8_decode(char car, stringi_utf8_state_e *state, *state = STRINGI_UTF8_STATE_TAB[*state * 8 + type]; } +/* NOTE: Non-canonical representation are not rejected */ static inline bool stringi_utf8_valid_str_p(const char str[]) { stringi_utf8_state_e s = STRINGI_UTF8_STARTING;