Closed playgithub closed 3 years ago
Right! These 2 files should be encodeding in "UTF8 with BOM". Or this project can not be compiled! @tfussell I was not able to generate .dll/.lib at first. Then I changed these 2 files's encoding to "UTF8 with BOM" and it works. However, I don't know why.😄
@tfussell @playgithub @wanzhiyu visual studio cannot recognize these files utf-8 encoded.
if your windows system locale is not english, build will fail. (utf-8 character will break. you can see detail description in this link https://docs.unrealengine.com/en-US/ProgrammingAndScripting/ProgrammingWithCPP/UnrealArchitecture/StringHandling/CharacterEncoding/index.html "Notes about C++ Source Code Specific to East Asian Encodings" section)
solution:
So a fix for Windows in CMakeLists.txt
is fine.
The files below should be encodeding in "UTF8 with BOM":