#include <sys/utsname.h>
+#include "stg/version.h"
+#include "stg/common.h"
#include "info_methods.h"
-#include "version.h"
#include "rpcconfig.h"
-#include "common.h"
void METHOD_INFO::execute(xmlrpc_c::paramList const & paramList,
xmlrpc_c::value * const retvalPtr)
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);