b8a752b621cbcfd18afebcafd1cb46cc3b2a92d6
[gedcom-parse.git] / utf8 / utf8-locale.h
1 /* Encoding utility from UTF-8 to locale and vice versa
2    Copyright (C) 2001, 2002 Peter Verthez
3
4    Permission granted to do anything with this file that you want, as long
5    as the above copyright is retained in all copies.
6    THERE IS NO WARRANTY - USE AT YOUR OWN RISK
7 */
8
9 /* $Id$ */
10 /* $Name$ */
11
12 #ifndef __UTF8_LOCALE_H
13 #define __UTF8_LOCALE_H
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 void  convert_set_unknown(const char* unknown);
20 char* convert_utf8_to_locale(const char* input, int *conv_fails);
21 char* convert_locale_to_utf8(const char* input);
22
23 #ifdef __cplusplus
24 }
25 #endif
26
27 #endif /* __UTF8_LOCALE_H */