Lines Matching refs:iconv
28 #include <iconv.h>
56 _("Usage: iconv [-c] [-s] [-f fromcode] [-t tocode] [file ...]");
58 _("or: iconv -l");
65 printf("iconv (GNU libiconv %d.%d)\n",
120 iconv(cd,NULL,NULL,NULL,NULL);
131 fprintf(stderr,_("iconv: %s:%u:%u: incomplete character or shift sequence\n"),infilename,line,column);
142 size_t res = iconv(cd,(ICONV_CONST char**)&inptr,&insize,&outptr,&outsize);
161 fprintf(stderr,_("iconv: %s:%u:%u: cannot convert\n"),infilename,line,column);
171 fprintf(stderr,_("iconv: %s:%u:%u: incomplete character or shift sequence\n"),infilename,line,column);
191 fprintf(stderr,_("iconv: %s:%u:%u: "),infilename,line,column);
204 size_t res = iconv(cd,NULL,NULL,&outptr,&outsize);
223 fprintf(stderr,_("iconv: %s:%u:%u: cannot convert\n"),infilename,line,column);
232 fprintf(stderr,_("iconv: %s:%u:%u: incomplete character or shift sequence\n"),infilename,line,column);
241 fprintf(stderr,_("iconv: %s:%u:%u: "),infilename,line,column);
253 fprintf(stderr,_("iconv: %s: I/O error\n"),infilename);
314 /* Backward compatibility with iconv <= 1.9.1. */
351 fprintf(stderr,_("iconv: conversion from %s unsupported\n"),fromcode);
353 fprintf(stderr,_("iconv: conversion to %s unsupported\n"),tocode);
355 fprintf(stderr,_("iconv: conversion from %s to %s unsupported\n"),fromcode,tocode);
356 fprintf(stderr,_("iconv: try '%s -l' to get the list of supported encodings\n"),program_name);
378 fprintf(stderr,_("iconv: %s: "),infilename);
391 fprintf(stderr,_("iconv: I/O error\n"));