Message292465
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. |
|
Date |
User |
Action |
Args |
2017-04-27 16:57:26 | xiang.zhang | set | recipients:
+ xiang.zhang, serhiy.storchaka, LawfulEvil |
2017-04-27 16:57:26 | xiang.zhang | set | messageid: <1493312246.4.0.402724971722.issue30103@psf.upfronthosting.co.za> |
2017-04-27 16:57:26 | xiang.zhang | link | issue30103 messages |
2017-04-27 16:57:26 | xiang.zhang | create | |
|