1e3eb30c41976331a2882d4f5e2546a28bb35f22
[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 }