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