Quote:
Originally Posted by KevinH
BTW, you have to make the same change to add setIniCodec to utf-8 in the SaveData() routine in Sigil/src/MiscEditors/SearchEditorModel.cpp to get things to work properly in Find and Replace ini files too.
Of course, if we decide to make this change, we can always just change Sigil/src/Misc/SettingsStore.cpp and add the call to setIniCodec in the constructor to make sure all instances of SettingsStore properly set the ini codec, that way we will not miss anyplace, and we do not have to hunt to find everyplace where SettingsStore is used.
Thoughts?
KevinH
|
Unless we can envision a situation where individual config files might need to be something other than utf-8, I like the idea of the latter, one-size-fits-all approach, myself.
I'll try to do some testing on Linux and Windows soon.