Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
因为VscodeVim本质是JS的,它需要从命令行读取的是utf8编码,尽管现在windows的内码已经可以设置成utf8,但做过这个设置的还是极少数,为了更好的兼容性,现在im-select-mspy总是会输出utf8,而不是像之前输出Unicode由windows来转换,这会让VscodeVim使用起来更加正确,尽管会带来的问题是在控制台输出时有可能会是乱码(非utf8内码的windows)
Because VscodeVim is essentially JS, it needs to read utf8 encoding from the command line. Although the Windows code page can now be set to utf8, very few people have made this setting. For better compatibility, im-select-mspy now always outputs utf8, instead of outputting Unicode for Windows to convert. This will make VscodeVim more correct to use, but it will also cause problems when the console output is garbled (for non-utf8 code page Windows).