fix:解决中文乱码BUG。

This commit is contained in:
2024-05-24 09:18:06 +08:00
parent 019740f550
commit 3d1fcc5dc8
6 changed files with 90 additions and 80 deletions

View File

@@ -24,6 +24,7 @@ bool ConfigIni::set_xml_path(const std::string& path)
if (ini_.IsEmpty()) {
return false;
}
ini_.SetValue("Basic", "xml_path", path.c_str());
if (ini_.SaveFile(ini_path_.c_str()) != SI_OK) {
return false;