implementation of UTF-8 conversion for text I/O: iconv vs hand-made