Posted by: Wisp
« on: October 01, 2018, 05:28:06 PM »WeiDU can't detect character sets, which is why it needs to be declared.
As for why things are default the way they are, tra_path varies wildly between mods (/tra, /lang or /language(s), just for a few examples), other options (like default_language) cannot safely be assumed because it'd presuppose things about the way the mod is structured, which would result in undesirable behaviour if things were not so, and so on. The option infer_charsets could perhaps have been default, but in practical terms, there have been regressions in the past involving variables that were not 0 by default being altered to be so, and I also wanted it to be opt in, so the modder would think about it and how the files were encoded. That might not have had the desired effect.
As for why things are default the way they are, tra_path varies wildly between mods (/tra, /lang or /language(s), just for a few examples), other options (like default_language) cannot safely be assumed because it'd presuppose things about the way the mod is structured, which would result in undesirable behaviour if things were not so, and so on. The option infer_charsets could perhaps have been default, but in practical terms, there have been regressions in the past involving variables that were not 0 by default being altered to be so, and I also wanted it to be opt in, so the modder would think about it and how the files were encoded. That might not have had the desired effect.