From 1d8b77da6b0abe6dccd6ce64e283b7208f873d57 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sun, 26 Feb 2023 01:12:41 +0100 Subject: [PATCH] fix(MSVC): set the active code page to utf-8 (#22384) Neovim expects character encoding to be UTF-8, and deviation from this causes bugs such as lua files not being recognized for non-ascii paths. This changes the behavior of fopen, which defaults to using the currently active codepage. Closes: https://github.com/neovim/neovim/issues/18122 --- src/nvim/os/nvim.manifest | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/nvim/os/nvim.manifest b/src/nvim/os/nvim.manifest index 8878822a5d..571b7f4580 100644 --- a/src/nvim/os/nvim.manifest +++ b/src/nvim/os/nvim.manifest @@ -17,4 +17,9 @@ + + + UTF-8 + +