-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The patch 8.1.1091 enables to support Unicode environment variables inside Vim. However, we still cannot access external Unicode env var. E.g.: ``` > set a=Ā > gvim --clean --cmd "set enc=utf-8" :echo $a ? " should be Ā ``` This is because we use ANSI entry points: WinMain() for GUI and main() for CUI. To fix this, we need to use wide entry points: wWinMain() for GUI and wmain() for CUI. This also moves the entry point for CUI from main.c to os_w32exe.c to make the code simple. Note: This requires the `-municode` option to MinGW, which means now MinGW-w64 is needed.
- Loading branch information
Showing
5 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters