From 2f1d1ab8273f6d574f8e28261ddfc72ac4f8015d Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 19 Mar 2021 11:55:58 +0100 Subject: Fix © in resources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The \xa9 is © on Windows-125x code pages. When Wintun was compiled on a Windows computer using UTF-8 as default code page (for "non-Unicode" programs), the Copyright notice in resources was wrong. Signed-off-by: Simon Rozman --- api/resources.rc | 2 ++ driver/wintun.rc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/api/resources.rc b/api/resources.rc index 869e9b9..4186db8 100644 --- a/api/resources.rc +++ b/api/resources.rc @@ -6,6 +6,8 @@ #include #include +#pragma code_page(1252) + wintun.cat RCDATA "wintun\\wintun.cat" wintun.inf RCDATA "wintun\\wintun.inf" wintun.sys RCDATA "wintun\\wintun.sys" diff --git a/driver/wintun.rc b/driver/wintun.rc index 0f452a7..4b8c580 100644 --- a/driver/wintun.rc +++ b/driver/wintun.rc @@ -6,6 +6,8 @@ #include #include +#pragma code_page(1252) + #define STRINGIZE(x) #x #define EXPAND(x) STRINGIZE(x) -- cgit v1.2.3-59-g8ed1b