added utf-8 decoding