Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4c229209c99e5c80dac53a7496e5f71aafd77519
Ticket: 2152292fffffffffffffffffffffffffffffffff
uuencode encoding wrong
User & Date: dkf on 2013-09-12 14:46:58
Changes

  1. comment changed to:
    According to http://en.wikipedia.org/wiki/Uuencode we do uuencoding wrong. In particular (ignoring the header and footer) uuencoding always uses a line length of 61 (encoding 45 bytes as 60 bytes with a length character preceding, typically an 'M' for 45 bytes). Wrap char is always \n (of course). The data is finished off with a line containing zero characters. And a backtick/grave accent (`) is often substituted for space so things don't get mangled.
    
    I'd be perfectly happy at leaving the header/footer processing off. ;-)
    
  2. icomment:
    Length byte processing is important, and that means that splitting into lines is important.
    
  3. login: "dkf"
  4. mimetype: "text/html"