Fix UTF-8 decoding