1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-26 14:54:16 +03:00
wezterm/assets/windows
Wez Furlong 8092886146
windows: add manifest to config-using console apps, force UTF8 ACP
Lua appears to populate package.path to something based on the
executable path on windows, but since it uses msvcrt in ANSI mode,
that string is encoded in whatever 8-bit MBCS is configured by
the host system ACP setting.

Rust expects that to be UTF-8, but Windows doesn't guarantee it.

This commit updates the manifest for wezterm-gui to tell Windows
that it wants its ACP to be set to UTF-8 prior to launch, which
should resolve this situation for the GUI.

This commit also introduces a more cut-down manifest for the
console-subsystem executables that also use the lua config layer,
which should hopefully resolve this issue for them.

This commit was authored on a mac, so fingers crossed that it
even compiles properly on windows!

refs: https://github.com/wez/wezterm/issues/3390
2023-03-28 19:18:48 -07:00
..
angle Windows: prefer to use Direct3D11 via ANGLE 2020-10-17 19:08:16 -07:00
conhost update conpty to v1.14.2281.0 release 2022-08-29 08:32:08 -07:00
mesa windows: Software frontend is now mesa llvmpipe 2020-10-01 18:31:57 -07:00
console.manifest windows: add manifest to config-using console apps, force UTF8 ACP 2023-03-28 19:18:48 -07:00
manifest.manifest windows: add manifest to config-using console apps, force UTF8 ACP 2023-03-28 19:18:48 -07:00
terminal.ico logo: refine appearance a bit more 2021-12-29 18:14:26 -07:00