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 * - Created charencoding.h on: Nov 25, 2009
10 #ifndef CHARENCODING_H_
11 #define CHARENCODING_H_
16 bool is_utf8_locale();
17 char *str_encode(const char *src,
18 const char *src_codeset,
19 const char *trgt_codeset,
21 char *utf8_encode(char *input_str, int *err_flg);
22 int utf8_printf(char *fmt, ...);
24 #endif /* CHARENCODING_H_ */