Fix issue with decoding long utf8 data