do utf-8 conversion, added timeout