Tech
48-Hour Field Notes: I Printed the Preferred Encoding. That Was Not the Open Default.
I spent the first evening sure the patch was finished, because the sample opened and the assertion printed the name I expected. Have you ever watched a text-mode read succeed on your laptop and then die the moment a clean job starts? I had a short traceback, a green local run, and a bad guess that the suggested edit had covered the real open. The bytes were valid UTF-8, so why did the clean job talk about an ASCII codec at all?
What I tried before I blamed the file
I started wher...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to