View Single Post
Old 10-23-2018, 10:36 AM   #28
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
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
KevinH is offline   Reply With Quote