Closed roxas232 closed 5 years ago
Hey there! Thanks for the commit - could you add a unit test case for the failure to please? That way I won't ever accidentally regress it again ;)
Test file is here https://github.com/sheredom/utf8.h/blob/master/test/main.c
Hi sheredom, I added two test cases and fixed utf8casestr as well. Hope that helps =)
Yay thank you!
No problem!
Without this fix, utf8str( "foobar", "oba" ) returned NULL.