Uuencoding
From Just Solve the File Format Problem
(Difference between revisions)
(→Format) |
(Added sample files) |
||
| (2 intermediate revisions by one user not shown) | |||
| Line 3: | Line 3: | ||
|subcat=Transfer Encodings | |subcat=Transfer Encodings | ||
|extensions={{ext|uue}}, {{ext|uu}} | |extensions={{ext|uue}}, {{ext|uu}} | ||
| + | |pronom={{PRONOM|fmt/1102}} | ||
}} | }} | ||
'''Uuencoding''' is a way to encode binary data as plain text, suitable for inclusion in an e-mail message or [[Usenet message format|Usenet message]]. | '''Uuencoding''' is a way to encode binary data as plain text, suitable for inclusion in an e-mail message or [[Usenet message format|Usenet message]]. | ||
| Line 8: | Line 9: | ||
== Format == | == Format == | ||
The header line usually starts with "<code>begin</code>", followed by a Unix file permission code and a filename. The last line is "<code>end</code>". | The header line usually starts with "<code>begin</code>", followed by a Unix file permission code and a filename. The last line is "<code>end</code>". | ||
| − | |||
| − | |||
Each line of data begins with a character indicating the line length. Since lines have a standard length, all lines except the last one begin with "<code>M</code>". | Each line of data begins with a character indicating the line length. Since lines have a standard length, all lines except the last one begin with "<code>M</code>". | ||
| + | |||
| + | == Base64 variant == | ||
| + | |||
| + | Some uuencode utilities support a variant format that uses standard [[Base64]] encoding, with a "<code>begin-base64</code>" header line, and a "<code>====</code>" footer line. | ||
== Software == | == Software == | ||
| Line 19: | Line 22: | ||
* [[Xxencoding]] | * [[Xxencoding]] | ||
* [[yEnc]] | * [[yEnc]] | ||
| + | |||
| + | == Sample files == | ||
| + | * https://telparia.com/fileFormatSamples/archive/uue/ | ||
== Links == | == Links == | ||
Revision as of 20:42, 30 April 2022
Uuencoding is a way to encode binary data as plain text, suitable for inclusion in an e-mail message or Usenet message.
Contents |
Format
The header line usually starts with "begin", followed by a Unix file permission code and a filename. The last line is "end".
Each line of data begins with a character indicating the line length. Since lines have a standard length, all lines except the last one begin with "M".
Base64 variant
Some uuencode utilities support a variant format that uses standard Base64 encoding, with a "begin-base64" header line, and a "====" footer line.
Software
- GNU sharutils:
uuencode,uudecode