decode UTF-8 encoded data, fixes #153