Skip to content

Commit

Permalink
リソースファイル内 #pragma で UTF-8 コードページを指定
Browse files Browse the repository at this point in the history
  • Loading branch information
kobake committed Jul 18, 2018
1 parent 24819a1 commit f9c361b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion sakura_core/sakura_rc.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//Microsoft Developer Studio generated resource script.
//
// CodePage: 65001 (UTF-8)
#pragma code_page(65001)

//#define SAKURA_LANG_RESOURCE

#ifndef SAKURA_LANG_RESOURCE
Expand Down Expand Up @@ -29,7 +32,6 @@
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)
#ifdef _WIN32
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
#pragma code_page(932)
#endif //_WIN32

#define S_COPYRIGHT "Copyright (C) 1998-2018 by Norio Nakatani & Collaborators"
Expand Down
4 changes: 3 additions & 1 deletion sakura_lang_en_US/sakura_lang_rc.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//Microsoft Developer Studio generated resource script.
//
// CodePage: 65001 (UTF-8)
#pragma code_page(65001)

#define SAKURA_LANG_RESOURCE

#ifndef SAKURA_LANG_RESOURCE
Expand Down Expand Up @@ -31,7 +34,6 @@
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
#pragma code_page(932)
#endif //_WIN32

#define S_COPYRIGHT "Copyright (C) 2011-2018 by Lucien & Collaborators"
Expand Down

0 comments on commit f9c361b

Please sign in to comment.