created simpler way to decode text to utf8