decode a byte string as UTF-8, with error handling

History

TimeChange
Created
Associated with 1895