Skip to content
EntityQ1570391· pop 16· linked from 83 articles

Uuencoding

Sign in to save

Also known as Unix uuencode format, Unix-to-Unix encoding

uuencoding is a form of binary-to-text encoding that originated in the Unix programs uuencode and uudecode written by Mary Ann Horton at the University of California, Berkeley in 1980, for encoding binary data for transmission in email systems.

Wikidata facts

Show 4 more facts
file extension
uu
media type
text/x-uuencode
inception
1980-00-00
Sources (2)

via Wikidata · CC0

~11 min read

Article

15 sections
Contents
  • Encoded format
  • Formatting mechanism
  • uuencode table
  • Example
  • Forks (file, resource)
  • Relation to xxencode, Base64, and Ascii85
  • Disadvantages
  • Support in languages
  • Python
  • Perl
  • Encode (oneliner)
  • PHP
  • See also
  • References
  • External links

uuencoding is a form of binary-to-text encoding that originated in the Unix programs uuencode and uudecode written by Mary Ann Horton at the University of California, Berkeley in 1980, for encoding binary data for transmission in email systems.

The name "uuencoding" is derived from Unix-to-Unix Copy, i.e. "Unix-to-Unix encoding" is a safe encoding for the transfer of arbitrary files from one Unix system to another Unix system but without guarantee that the intervening links would all be Unix systems. Since an email message might be forwarded through or to computers with different character sets or through transports which are not 8-bit clean, or handled by programs that are not 8-bit clean, forwarding a binary file via email might cause it to be corrupted. By encoding such data into a character subset common to most character sets, the encoded form of such data files was unlikely to be "translated" or corrupted, and would thus arrive intact and unchanged at the destination. The program uudecode reverses the effect of uuencode, recreating the original binary file exactly. uuencode/decode became popular for sending binary (and especially compressed) files by email and posting to Usenet newsgroups, etc.

Connections

Categories