sheredom / utf8.h

📚 single header utf8 string functions for C and C++
The Unlicense
1.69k stars 123 forks source link

utf8valid with size #87

Closed falsycat closed 3 years ago

falsycat commented 3 years ago

Is there a way to call utf8valid with string which is not null-terminated?

sheredom commented 3 years ago

No unfortunately. I guess we could add a utf8nvalid that takes a size though. Would that work for you?