Skip to content

Minor INI importer problems

Fixed by !4519 (merged), but we need an issue number to put on the changelog.

  • Handle openmw.cfg a bit more like the engine does. In particular, don't assume # is always the start of a comment as it's permissible in setting values, too, and has been since my second ever PR back in 2016.
  • Don't leave encoding=... out of the openmw.cfg we write when we know what the encoding is as we've just used it to decode the INI we're importing.
  • Use the encoding from the existing openmw.cfg if we've not been told to do something else.