X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/de7760b87ad8ca38954140a738d66a133f7021f0..d1d65fe3185a6c2178bbca46e9f409bd8d747c7f:/stglibs/srvconf.lib/parsers/chg_service.cpp?ds=inline diff --git a/stglibs/srvconf.lib/parsers/chg_service.cpp b/stglibs/srvconf.lib/parsers/chg_service.cpp index eabe11df..7dac5ba9 100644 --- a/stglibs/srvconf.lib/parsers/chg_service.cpp +++ b/stglibs/srvconf.lib/parsers/chg_service.cpp @@ -29,12 +29,12 @@ using namespace STG; -std::string CHG_SERVICE::Serialize(const SERVICE_CONF_RES & conf, const std::string & encoding) +std::string CHG_SERVICE::Serialize(const SERVICE_CONF_RES & conf, const std::string & /*encoding*/) { std::ostringstream stream; appendResetable(stream, "name", conf.name); -appendResetable(stream, "comment", MaybeIconv(conf.comment, "koi8-ru", encoding)); +appendResetable(stream, "comment", MaybeEncode(conf.comment)); appendResetable(stream, "cost", conf.cost); appendResetable(stream, "payDay", conf.payDay);