2 * Copyright (c) 2009-2010 Mika Laitio <lamikr@pilppa.org>
4 * This file and library is covered by the LGPL version 3, read LICENSE for details.
7 * - utf8.c Nov 25, 2009: small modifications of original files to fit to libcharencoding
8 * - Based on to basic UTF-8 manipulation routines
10 * placed in the public domain Fall 2005
12 * This code is designed to provide the utilities you need to manipulate
13 * UTF-8 as an internal string encoding. These functions do not perform the
14 * error checking normally needed when handling UTF-8 data, so if you happen
15 * to be from the Unicode Consortium you will want to flay me alive.
16 * I do this because error checking can be performed at the boundaries (I/O),
17 * with these routines reserved for higher performance on data known to be
24 int utf8_vprintf(char *fmt, va_list ap);