ThibautSF / ParadoxosModManager

Software to manage mods for recent Paradox games
37 stars 6 forks source link

[WTF] Mod name not parsed #15

Closed ThibautSF closed 6 years ago

ThibautSF commented 6 years ago

Yes it's an new category of bug ^^

Because i don't understand why, for HoI 4 i have some .mod files which the "name=" line isn't parsed...

TODO : ugc_704963980.mod TODO : ugc_862190346.mod java.util.regex.Matcher[pattern=\".*?\" region=0,20 lastmatch="Full Zoom Out"] Name found : StringProperty [value: Full Zoom Out] TODO : ugc_719416488.mod TODO : ugc_739173012.mod TODO : ugc_703916652.mod

Here a folder to test : Hearts of Iron IV.zip In this foler, only 3 old files give a name... but all the files have the "name=" line...

NicolasGrosjean commented 6 years ago

It is an encoding problem.

The 3 files with the parsed name are encoded in UTF-8, the others in UTF-8-BOM