Revert r188376, "[lit] Support parsing scripts with inconsistent or invalid encodings...