X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c26f4f6b17d688b3defb790486daf42392068aa3..737dc92a4a7cbf290fb9dd599c3a021a5af69479:/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp?ds=inline diff --git a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp index e4a75a87..91f910e0 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp @@ -37,9 +37,7 @@ std::vector dirnameVal; for (int i = 0; i< DIR_NUM; i++) { - std::string dn2e; - Encode12str(dn2e, dirNames[i]); - dirnameVal.push_back(xmlrpc_c::value_string(dn2e)); + dirnameVal.push_back(xmlrpc_c::value_string(IconvString(dirNames[i], "KOI8-RU", "UTF-8"))); } structVal["dir_names"] = xmlrpc_c::value_array(dirnameVal);