Encapsulate the 'iconv' with cpp