Encoding error handling preparation.