]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp
Fixed interface in stgcrypto
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / info_methods.cpp
index 11cf970caa3bd5ed92fb34e9075efdfeb916153c..91f910e02e21a21145c4ef1bb48c482d6c75da44 100644 (file)
@@ -37,7 +37,7 @@ std::vector<xmlrpc_c::value> dirnameVal;
 
 for (int i = 0; i< DIR_NUM; i++)
     {
-    dirnameVal.push_back(xmlrpc_c::value_string(dirNames[i]));
+    dirnameVal.push_back(xmlrpc_c::value_string(IconvString(dirNames[i], "KOI8-RU", "UTF-8")));
     }
 
 structVal["dir_names"] = xmlrpc_c::value_array(dirnameVal);