Skip to content

Commit

Permalink
win32: Fix encoding of file properties
Browse files Browse the repository at this point in the history
When compiling Vim on non-English environment, the copyright mark © is not
shown correctly. This PR sets the encoding of the Windows resource file
explicitly to cp1252 to fix it.
  • Loading branch information
k-takata committed Dec 9, 2019
1 parent 0ff822d commit c2cc8c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vim.rc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
#include "gui_w32_rc.h"
#include <winresrc.h>

LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)

//
// Icons
//
Expand Down

0 comments on commit c2cc8c7

Please sign in to comment.