/** * Copyright (c) 2009-2010 Mika Laitio * * This file and library is covered by the LGPL version 3, read LICENSE for details. * * History: * - Created charencoding.h on: Nov 25, 2009 */ #ifndef CHARENCODING_H_ #define CHARENCODING_H_ #include #include bool is_utf8_locale(); char *str_encode(const char *src, const char *src_codeset, const char *trgt_codeset, int *err_flg); char *utf8_encode(char *input_str, int *err_flg); int utf8_printf(char *fmt, ...); #endif /* CHARENCODING_H_ */