Lines Matching defs:tocode
107 _("Usage: iconv [-c] [-s] [-f fromcode] [-t tocode] [file ...]");
757 const char* tocode = NULL;
809 if (tocode != NULL) usage(1);
811 tocode = argv[i+1];
814 tocode = argv[i]+10;
921 if (tocode == NULL)
922 tocode = "char";
923 cd = iconv_open(tocode,fromcode);
927 else if (iconv_open(tocode,"UCS-4") == (iconv_t)(-1))
928 error(0,0,_("conversion to %s unsupported"),tocode);
930 error(0,0,_("conversion from %s to %s unsupported"),fromcode,tocode);
933 /* Look at fromcode and tocode, to determine whether character widths
935 cjkcode = iconv_canonicalize(tocode);
955 subst_mb_to_mb_cd = iconv_open(tocode,"char");
960 subst_wc_to_mb_cd = iconv_open(tocode,"char");
965 subst_uc_to_mb_cd = iconv_open(tocode,"char");