Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
scriptwrapper.lua seems to erase last character of the first part of the path when searching a package #15691
scriptwrapper.lua seems to erase last character of the first part of the path when searching
Example: if my directory is:
Then I get:
See how it search in no file '/home/paul/Téléchargements/OpenRA-bfcb/lua/sandbox.lua'
So the workaround I use, is to create a copy of the game, like:
This suggests the problem may be with the unicode handling either in our GameDir path resolution, or inside Lua itself. If it turns out to be in Lua then we have a problem - they seem to have fixed their unicode handling in 5.3, but we are unable to upgrade past 5.1 because 5.2 changed the way that Lua is embedded in other software, breaking compatibility.