Light C Unicode Library [closed] Light C Unicode Library [closed] c c

Light C Unicode Library [closed]


A nice, light, library which I use successfully is utf8proc.


There's also MicroUTF-8, but it may require login credentials to view or download the source.


UTF-8 is specially designed so that many byte-oriented string functions continue to work or only need minor modifications.

C's strstr function, for instance, will work perfectly as long as both its inputs are valid, null-terminated UTF-8 strings. strcpy works fine as long as its input string starts at a character boundary (for instance the return value of strstr).

So you may not even need a separate library!