neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 1d8b77da6b0abe6dccd6ce64e283b7208f873d57
parent c1514d7e6762ed62dee027ecc29bafd4aae2206e
Author: dundargoc <33953936+dundargoc@users.noreply.github.com>
Date:   Sun, 26 Feb 2023 01:12:41 +0100

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
Diffstat:
Msrc/nvim/os/nvim.manifest | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/nvim/os/nvim.manifest b/src/nvim/os/nvim.manifest @@ -17,4 +17,9 @@ <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> </application> </compatibility> + <asmv3:application> + <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings"> + <activeCodePage>UTF-8</activeCodePage> + </asmv3:windowsSettings> + </asmv3:application> </assembly>