When an input character cannot be decoded, include it in the produced error Reviewed-by: jjg
Reviewed-by: jjg