Light C Unicode Library

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


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!


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

Tags:

C

Unicode

Utf 8