Simplify utf-8 conversion