Lines Matching refs:fenc

37 static char_u *readfile_charconvert(char_u *fname, char_u *fenc, int *fdp);
196 char_u *fenc; // fileencoding to use in readfile() local
796 fenc = enc_canonize(eap->cmd + eap->force_enc); in readfile()
802 fenc = (char_u *)""; // binary: don't convert in readfile()
816 fenc = (char_u *)"latin1"; in readfile()
838 fenc_next = fenc; in readfile()
839 fenc = (char_u *)"utf-8"; in readfile()
851 fenc = curbuf->b_p_fenc; // use format from buffer in readfile()
857 fenc = next_fenc(&fenc_next, &fenc_alloced); in readfile()
950 vim_free(fenc); in readfile()
951 fenc = (char_u *)""; in readfile()
957 vim_free(fenc); in readfile()
960 fenc = next_fenc(&fenc_next, &fenc_alloced); in readfile()
964 fenc = (char_u *)""; in readfile()
980 converted = need_conversion(fenc); in readfile()
986 if (STRCMP(fenc, ENC_UCSBOM) == 0) in readfile()
999 fio_flags = get_fio_flags(fenc); in readfile()
1007 fio_flags = get_win_fio_flags(fenc); in readfile()
1013 fio_flags = get_mac_fio_flags(fenc); in readfile()
1026 enc_utf8 ? (char_u *)"utf-8" : p_enc, fenc); in readfile()
1048 tmpname = readfile_charconvert(fname, fenc, &fd); in readfile()
1084 can_retry = (*fenc != NUL && !read_stdin && !read_fifo && !keep_dest_enc); in readfile()
1470 && (*fenc == 'u' || (*fenc == NUL && enc_utf8))))) in readfile()
1480 fio_flags == FIO_UCSBOM ? FIO_ALL : get_fio_flags(fenc)); in readfile()
1505 vim_free(fenc); in readfile()
1506 fenc = ccname; in readfile()
2316 set_string_option_direct((char_u *)"fenc", -1, fenc, in readfile()
2319 vim_free(fenc); in readfile()
2756 char_u *fenc = enc_canonize(eap->cmd + eap->force_enc); in set_forced_fenc() local
2758 if (fenc != NULL) in set_forced_fenc()
2760 fenc, OPT_FREE|OPT_LOCAL, 0); in set_forced_fenc()
2761 vim_free(fenc); in set_forced_fenc()
2825 char_u *fenc, // converted from in readfile_charconvert() argument
2838 if (eval_charconvert(fenc, enc_utf8 ? (char_u *)"utf-8" : p_enc, in readfile_charconvert()
3144 need_conversion(char_u *fenc) in need_conversion() argument
3150 if (*fenc == NUL || STRCMP(p_enc, fenc) == 0) in need_conversion()
3160 fenc_flags = get_fio_flags(fenc); in need_conversion()