I'm currently using char *
for strings in my C program. I'd like to learn how to implement Unicode support and have been looking at utf8proc
.
Is utf8proc
the best general-purpose Unicode library for C? Other than the documentation in the header file, are there examples for its use?
For instance, I can figure out how to compile utf8proc
into my codebase, but other than that, I'm at a loss — do I keep using char *
or do I use some other type? Stuff like that is not well described.
If there are better libraries or better-documented libraries, what should I be looking at?
(unsigned) char *
does that for me. I want to be able to support non-ASCII-speaking users, however. Does that help clear things up? – Alex Reynolds Jan 18 '15 at 22:45