diff options
Diffstat (limited to 'tests/windows-utf8.rc')
-rw-r--r-- | tests/windows-utf8.rc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/windows-utf8.rc b/tests/windows-utf8.rc new file mode 100644 index 00000000..110241aa --- /dev/null +++ b/tests/windows-utf8.rc @@ -0,0 +1,9 @@ +/* This file is in the public domain. */ + +/* This file is a resource definition file. + When compiled to an object file, it embeds the windows-utf8.manifest file, + that has the effect that in the application, GetACP () == 65001 instead + of e.g. 1252. */ + +#include <winresrc.h> /* includes <winuser.h>, <winver.h> */ +CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "windows-utf8.manifest" |