Files
neovim/test/functional
Elijah Koulaxis d660233edf fix(windows): force console codepage to UTF-8 for shell/system() #38742
Problem:
On Windows, `:!echo тест` shows `????` because the console code page defaults to a legacy ANSI encoding (e.g. CP1252) instead of `UTF-8`

Solution:
Call `SetConsoleOutputCP(CP_UTF8)` and `SetConsoleCP(CP_UTF8)` in `do_os_system()` before spawning child processes, and restore the original values after. It covers both `:!` and `system()` since they both go through `do_os_system()`

(cherry picked from commit bba48ee1b0)
2026-04-05 23:47:51 +00:00
..
2026-03-29 13:36:56 +02:00
2026-03-29 18:16:17 +02:00
2025-12-15 13:55:15 -05:00