On Wednesday 2008-05-07 13:11, PƔdraig Brady wrote:
>
>Now that is a _lot_ of extra time. libiconv could probably be
>made more efficient. I've never actually looked at it.
>However wc calls mbrtowc() for each multibyte character.
>It would probably be a lot more efficient to use mbstowcs()
>to convert the whole read buffer.
And perhaps use iconv_open("wchar_t", whatever-is-appropriate) instead of
mbrtowc()?