Xiang Zhang added the comment: There seems no standard. I also read the wikipedia but for perl and uuencode on my Linux, they now all use backticks to represent zero instead of spaces.
[~]$ perl -e 'print pack("u","Ca\x00t")' $0V$`=``` [~]$ cat /tmp/test Ca[~]$ uuencode /tmp/test - begin 664 - "0V$` ` end while Python now: >>> import uu >>> uu.encode('/tmp/test', '-') begin 664 test "0V$ end Except the link Kyle gives, the manpage of FreeBSD describes the new algorithm: http://www.unix.com/man-page/freebsd/5/uuencode/ I don't propose to change current behaviour to break backwards compatibility. But I think it's reasonable to provide a way to allow users to use backticks. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30103> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com