UMake doesn't support UTF-16 files
Posted: Sat Apr 16, 2022 8:08 pm
I've noticed an annoying issue with UMake, if UnrealTournament.ini has any non-english character it will get encoded as UTF-16 (which is what happens in my case), which UMake can't recognize and gives the error Unable to find the main game configuration file. And yes, i've used Process Monitor to see what exactly is happening and it does indeed find and open the file, but it stops at offset 0.
If I convert UnrealTournament.ini back to UTF-8, then UMake suddenly works fine, but as soon as I launch the game the file gets overwritten, the non-ASCII characters come back, and the file becomes UTF-16 again.
And no it's not the username with those unusual characters, it's some device names mentioned in the OpenAL section of UnrealTournament.ini, speakers and all that basically.
So with all this in mind, is the source code of UMake available anywhere so that this bug can be fixed? It's annoying having to do the process manually everytime I want to build a mod, with the .u file deletion and all that.
If I convert UnrealTournament.ini back to UTF-8, then UMake suddenly works fine, but as soon as I launch the game the file gets overwritten, the non-ASCII characters come back, and the file becomes UTF-16 again.
And no it's not the username with those unusual characters, it's some device names mentioned in the OpenAL section of UnrealTournament.ini, speakers and all that basically.
So with all this in mind, is the source code of UMake available anywhere so that this bug can be fixed? It's annoying having to do the process manually everytime I want to build a mod, with the .u file deletion and all that.