From 64a43dd2801de65214bef4f5d2014366617c6c6e Mon Sep 17 00:00:00 2001 From: Dwedit Date: Tue, 21 May 2019 20:09:05 -0500 Subject: [PATCH] Move `#pragma code_page(932)` into `rarch.rc`, as `#pragma code_page` is ignored for included files. Fixes locale problems for Japanese resources. --- media/rarch.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/media/rarch.rc b/media/rarch.rc index ebd8d5142b..fb7af6e78b 100644 --- a/media/rarch.rc +++ b/media/rarch.rc @@ -102,4 +102,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL 2 RT_MANIFEST "rarch.manifest" +// Per the documentation, this should be used before including resource files. +// https://docs.microsoft.com/en-us/windows/desktop/menurc/pragma-directives +#pragma code_page(932) #include "rarch_ja.rc"