←back to thread

238 points GalaxySnail | 1 comments | | HN request time: 0.278s | source
Show context
Myrmornis ◴[] No.40169014[source]
Hm TIL, I thought that the string encoding argument to .decode() and .encode() was required, but now I see it defaults to "utf-8". Did that change at some point?
replies(2): >>40169160 #>>40170907 #
LeoPanthera ◴[] No.40170907[source]
> ChatGPT4 says it's always been that way since the beginning of Python3

This is not a reliable way to look up information. It doesn't know when it's wrong.

replies(1): >>40189422 #
1. Myrmornis ◴[] No.40189422[source]
I was just being conversational.