Lines Matching refs:tocode
56 _("Usage: iconv [-c] [-s] [-f fromcode] [-t tocode] [file ...]");
262 const char* tocode = NULL;
297 if (tocode != NULL) usage(1);
298 tocode = argv[i+1];
346 if (tocode == NULL)
347 tocode = "char";
348 cd = iconv_open(tocode,fromcode);
352 else if (iconv_open(tocode,"UCS-4") == (iconv_t)(-1))
353 fprintf(stderr,_("iconv: conversion to %s unsupported\n"),tocode);
355 fprintf(stderr,_("iconv: conversion from %s to %s unsupported\n"),fromcode,tocode);
359 /* Look at fromcode and tocode, to determine whether character widths
361 cjkcode = iconv_canonicalize(tocode);