iconv wrapper for C++