Distinguish invalid and incomplete UTF-8 input, and set errno accordingly.
[pspp] / modules / striconveh
1 Description:
2 Character set conversion of strings with error handling, uses iconv.
3
4 Files:
5 lib/striconveh.h
6 lib/striconveh.c
7
8 Depends-on:
9 stdbool
10 iconv
11 unistr/u8-prev
12 unistr/u8-mbtouc-unsafe
13 unistr/u8-mbtouc
14 unistr/u8-mbtoucr
15 unistr/u8-uctomb
16 strdup
17 c-strcase
18 c-strcaseeq
19
20 configure.ac:
21 if test $gl_cond_libtool = false; then
22   gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
23   gl_libdeps="$gl_libdeps $LIBICONV"
24 fi
25
26 Makefile.am:
27 lib_SOURCES += striconveh.h striconveh.c
28 if GL_COND_LIBTOOL
29 lib_LDFLAGS += $(LTLIBICONV)
30 endif
31
32 Include:
33 "striconveh.h"
34
35 License:
36 LGPL
37
38 Maintainer:
39 Bruno Haible
40