Home
last modified time | relevance | path

Searched refs:to_is_utf8 (Results 1 – 3 of 3) sorted by relevance

/dports/converters/convmv/convmv-2.05/
H A Dconvmv429 $to_is_utf8 = lc($opt_t) =~ m/^utf-?8/;
446 die "NFC requires UTF-8 as target charset\n" unless ($to_is_utf8);
449 die "NFD requires UTF-8 as target charset\n" unless ($to_is_utf8);
455 …as source and non-UTF-8 as target charset\n" unless ($from_is_utf8 and $opt_t and not $to_is_utf8);
618 if (!$from_is_utf8 and $to_is_utf8 and !$opt_nosmart and &looks_like_utf8($oldfile)) {
630 if ($from_is_utf8 and ! $to_is_utf8) {
643 $newname=&$norm(decode_utf8($newname)) if ($to_is_utf8);
661 $newname=encode_utf8($newname) if ($to_is_utf8);
791 if ($to_is_utf8 and !$opt_nosmart and &looks_like_utf8($oldfile)) {
806 if ($to_is_utf8) {
/dports/editors/neovim/neovim-0.6.1/src/nvim/
H A Dmbyte.c2453 int to_is_utf8; in convert_setup_ext() local
2477 to_is_utf8 = to_prop & ENC_UNICODE; in convert_setup_ext()
2479 to_is_utf8 = to_prop == ENC_UNICODE; in convert_setup_ext()
2482 if ((from_prop & ENC_LATIN1) && to_is_utf8) { in convert_setup_ext()
2486 } else if ((from_prop & ENC_LATIN9) && to_is_utf8) { in convert_setup_ext()
2500 vcp->vc_fd = (iconv_t)my_iconv_open(to_is_utf8 ? (char_u *)"utf-8" : to, in convert_setup_ext()
/dports/editors/vim/vim-8.2.3745/src/
H A Dmbyte.c5034 int to_is_utf8; in convert_setup_ext() local
5057 to_is_utf8 = to_prop & ENC_UNICODE; in convert_setup_ext()
5059 to_is_utf8 = to_prop == ENC_UNICODE; in convert_setup_ext()
5061 if ((from_prop & ENC_LATIN1) && to_is_utf8) in convert_setup_ext()
5067 else if ((from_prop & ENC_LATIN9) && to_is_utf8) in convert_setup_ext()
5086 && (to_is_utf8 || encname2codepage(to) > 0)) in convert_setup_ext()
5091 vcp->vc_cpto = to_is_utf8 ? 0 : encname2codepage(to); in convert_setup_ext()
5099 else if ((from_prop & ENC_MACROMAN) && to_is_utf8) in convert_setup_ext()
5118 to_is_utf8 ? (char_u *)"utf-8" : to, in convert_setup_ext()