Page MenuHomeWildfire Games

Use default Unicode encoding in source code on Windows
ClosedPublic

Authored by Itms on Nov 26 2017, 3:05 PM.

Details

Summary

This patch changes MBCS encoding (which was the default with premake4, we kept it) to Unicode encoding (default in premake5).

I'd rather commit this before committing the VS 2015 support than after.

Test Plan

-

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Itms created this revision.Nov 26 2017, 3:05 PM
Vulcan added a subscriber: Vulcan.Nov 26 2017, 6:01 PM

Successful build - Chance fights ever on the side of the prudent.

Updating workspaces...
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK!
Checking XML files...
Executing section Default...
Executing section Source...
Executing section JS...
Itms added a subscriber: wraitii.Nov 26 2017, 7:59 PM

@wraitii, can you tell me whether that builds on OSX? It works on Windows and Linux but I don't have much time for firing up my VM now...

@Itms seems to work on Xcode and gcc

This revision was automatically updated to reflect the committed changes.
Owners added a subscriber: Restricted Owners Package.Nov 29 2017, 9:14 PM