From 42c4d12010e1ed77ea2934073b1298cf7b852ce8 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 11 Apr 2011 14:50:01 +0300 Subject: [PATCH] Add koi8 -> utf8 conversion for the dir names --- .../stargazer/plugins/configuration/rpcconfig/info_methods.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp index 11cf970c..91f910e0 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp @@ -37,7 +37,7 @@ std::vector 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); -- 2.43.2