Pituophis icon indicating copy to clipboard operation
Pituophis copied to clipboard

Handle more.. obscure text encodings

Open dotcomboom opened this issue 5 years ago • 0 comments

Older servers (like this instance of GopherSurfer 1.1b3r2 I got running on my Power Mac G4 for testing) use text encodings that aren't compatible with UTF-8, causing an error. In my case, macroman, which Python can decode fine like resp.binary.decode('macroman') where resp is a Response object.

(As for the other way around, rest assured that clients like TurboGopher, Cyberdog and GopherVR work fine with Pituophis-based servers on OS 9.)

dotcomboom avatar May 19 '20 16:05 dotcomboom