#ifndef CHARSET_CONV_HPP #define CHARSET_CONV_HPP #include #include #include //wrapper for iconv usage class CharsetConv { public: CharsetConv() { cd=iconv_t(-1); } void workwith(const char *from, const char *to) { if (cd!=iconv_t(-1)) iconv_close(cd); if ((cd=iconv_open(to, from))==iconv_t(-1)) std::cerr<