> unix | classic | legacy <

// UUencoding - Unix-to-Unix encoding for binary data transmission

[UNIX]

Unix Standard

Traditional Unix encoding method used for decades in email and Usenet.

[COMPATIBLE]

Wide Support

Supported by most Unix/Linux systems and email clients natively.

[STRUCTURED]

Self-Contained

Includes file permissions and name metadata in the encoded output.

>> technical info

How UUencoding Works:

UUencoding converts binary data into ASCII text using printable characters. It encodes 3 bytes into 4 characters, similar to Base64, but uses a different character set starting from space (ASCII 32).

Example:

"Hello" → begin 644 data\n%2&5L;&\\`\n`\nend

Why Use UUencoding:

  • >Historic Unix/Linux standard
  • >Preserves file permissions
  • >Self-contained format
  • >Email and Usenet compatible
  • >Built into most Unix tools

>> frequently asked questions

What is UUencoding?

UUencoding (Unix-to-Unix encoding) is a binary-to-text encoding scheme that was widely used to transfer binary files over text-only communication channels like email and Usenet.

How does UUencoding differ from Base64?

While both encode 3 bytes into 4 characters, UUencoding uses a different character set starting from space (ASCII 32) and includes file metadata like permissions and filename in the encoded output.

When should I use UUencoding?

UUencoding is best for compatibility with legacy Unix/Linux systems, when you need to preserve file permissions, or when working with tools that specifically expect UUencoded format.

Is UUencoding still relevant?

While Base64 has largely replaced UUencoding for most purposes, UUencoding is still used in some Unix/Linux utilities and legacy systems where compatibility is important.

Other Languages