Author jberg
Recipients Neui, SilentGhost, eryksun, jberg, ncoghlan
Date 2020-05-24.17:37:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590341875.51.0.0380755743045.issue35883@roundup.psfhosted.org>
In-reply-to
Content
A simple test case is something like

  ./python -c 'import sys; print(sys.argv[1].encode(sys.getfilesystemencoding(), "surrogateescape"))' "$(echo -ne '\xfa\xbd\x83\x96\x80')"


Which you'd probably expect to print

  b'\xfa\xbd\x83\x96\x80'

i.e. the same bytes that were passed in, but currently that fails.
History
Date User Action Args
2020-05-24 17:37:55jbergsetrecipients: + jberg, ncoghlan, SilentGhost, eryksun, Neui
2020-05-24 17:37:55jbergsetmessageid: <1590341875.51.0.0380755743045.issue35883@roundup.psfhosted.org>
2020-05-24 17:37:55jberglinkissue35883 messages
2020-05-24 17:37:55jbergcreate