/* * utf8.h * * Copyright (c) Chris Putnam 2004-2012 * * Source code released under the GPL * */ #ifndef UTF8_H #define UTF8_H #include extern int utf8_encode( unsigned int value, unsigned char out[6] ); extern unsigned int utf8_decode( char *s, unsigned int *pi ); extern void utf8_writebom( FILE *outptr ); #endif