cat_utftowc - convert a UTF-8 string to wide chararacters
#include <cat/catutil.h>
int cat_utftowc(const char *input, wchar_t **output);
This function converts the input string to wide characters, allocates space to store the result, and stores
the address in the output argument.
output should be deallocated with free().
Returns the number of wide characters in the result, or a negative code on
error.
cat, catutil, cat_wctoutf