Don't use chcp.
Don't use chcp.: a task in github-trending-environments-10k (Harbor dataset). User should fix their terminal font to display unicode characters. Terminal programs can only use Wide String APIs. For Vim, this requires +multi byte feature ~~and set encoding=utf-8 in the user's vimrc.~~ iconv() and…
The task
User should fix their terminal font to display unicode characters. Terminal programs can only use Wide String APIs. For Vim, this requires +multi_byte feature ~~and `set encoding=utf-8` in the user's vimrc.~~ `iconv()` and `libcallnr` to get the current codepage (can this be cached?). Neovim always defaults to `set…