citrus: compile in UTF16/32 support for iconv.
[dragonfly.git] / lib / libkiconv / test.c
1 #include <sys/iconv.h>
2 int main() {
3         int error = 0;
4         error = kiconv_add_xlat16_cspairs(ENCODING_UNICODE, "UTF-8");
5         if(error)
6                 printf("fail\n");
7         error = kiconv_add_xlat16_cspairs("KOI8-R", "UTF-8");
8         if(error)
9                 printf("fail\n");
10         return error;
11 }