NAME

cat_latin1toutf - convert iso8859-1 (latin1) to UTF-8

SYNOPSIS

#include <cat/catutil.h>

int cat_latin1toutf(const char *input, char **output);

DESCRIPTION

Converts the iso8859-1 string input to utf-8, allocates space for the result and stores the address to the result in the output argument.

Returns the number of bytes in the result, or a negative code on error.

SEE ALSO

cat, catutil, cat_utftolatin1