@id:1895 $name:decode a byte string as UTF-8, with error handling