Create directory with UTF-8 name in Vim

What I usually do is I switch to the explorer mode with :Explore and press d. It asks me for the directory name, then.

  • :h :Explore
  • :h netrw-d

try this

:!mkdir "привет"

Found it.

I should use iconv function:

:call mkdir(iconv("привет", "utf-8", "cp1251"))

You can change encod. Add:

chcp 65001
:call mkdir("привет")

chcp 65001 - UTF-8