Closed Acharvak closed 8 years ago
encode(sys.stdout.encoding, 'replace') should do this already. Is it broken or have drawbacks?
encode(sys.stdout.encoding, 'replace')
Oh, right. I forgot that you can rely on it to produce question marks.
encode(sys.stdout.encoding, 'replace')
should do this already. Is it broken or have drawbacks?