Uuencoding (Unix-to-Unix encoding) is one of the earliest binary-to-text encoding schemes, developed in the late 1970s for transmitting binary files between UNIX systems over the UUCP network. It was widely used in the 1980s and 1990s for sharing files over email and Usenet newsgroups before MIME encoding became the standard.
Uuencoding takes 3 bytes of input and encodes them as 4 printable ASCII characters in the range 32 (space) to 95 (_). Each line of output is 60 encoded characters long (representing 45 bytes of input) and is prefixed by a length character. The encoded block starts with a "begin" header (including file permissions and filename) and ends with "end".
Rarely. Uuencoding has been superseded by Base64 MIME encoding for email and HTTP. You may encounter it when working with very old systems, legacy Usenet archives, or certain embedded hardware protocols.
The first character of each Uuencoded line is the length character. M (ASCII 77 = 32 + 45) means the line encodes 45 bytes — the standard full-line length.