Added support for decoding utf-8