File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
XEngine_Source/XEngine_ServiceApp/XEngine_APIServiceApp Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,13 @@ bool XEngine_InitLog()
5757// 主函数
5858int _tmain (int argc, TCHAR* argv[])
5959{
60+ #ifndef _DEBUG
61+ if (setlocale (LC_ALL, " .UTF8" ) == NULL )
62+ {
63+ printf (" Error setting locale.\n " );
64+ return -1 ;
65+ }
66+ #endif
6067 XEngine_InitLog ();
6168 if (argc > 1 )
6269 {
Original file line number Diff line number Diff line change 111111 </PropertyGroup >
112112 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|ARM64'" >
113113 <IncludePath >$(XEngine_Include);$(IncludePath)</IncludePath >
114- <LibraryPath >$(XEngine_Lib64 );$(LibraryPath)</LibraryPath >
114+ <LibraryPath >$(XEngine_LibArm64 );$(LibraryPath)</LibraryPath >
115115 </PropertyGroup >
116116 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" >
117117 <IncludePath >$(XEngine_Include);$(IncludePath)</IncludePath >
141141 <SDLCheck >true</SDLCheck >
142142 <PreprocessorDefinitions >WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions >
143143 <ConformanceMode >true</ConformanceMode >
144+ <AdditionalOptions >/utf-8 %(AdditionalOptions)</AdditionalOptions >
144145 </ClCompile >
145146 <Link >
146147 <SubSystem >Console</SubSystem >
181182 <SDLCheck >true</SDLCheck >
182183 <PreprocessorDefinitions >NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions >
183184 <ConformanceMode >true</ConformanceMode >
185+ <AdditionalOptions >/utf-8 %(AdditionalOptions)</AdditionalOptions >
184186 </ClCompile >
185187 <Link >
186188 <SubSystem >Console</SubSystem >
197199 <SDLCheck >true</SDLCheck >
198200 <PreprocessorDefinitions >NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions >
199201 <ConformanceMode >true</ConformanceMode >
202+ <AdditionalOptions >/utf-8 %(AdditionalOptions)</AdditionalOptions >
200203 </ClCompile >
201204 <Link >
202205 <SubSystem >Console</SubSystem >
You can’t perform that action at this time.
0 commit comments