Uuencoding
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=E-Mail, newsgroups, and forums }} '''Uuencoding''' is a way to encode binary data as plain text, suitable for inclusion in an e-mai...") |
(Added sample files) |
||
| (6 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
{{FormatInfo | {{FormatInfo | ||
|formattype=electronic | |formattype=electronic | ||
| − | |subcat= | + | |subcat=Transfer Encodings |
| + | |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]]. | ||
== Format == | == Format == | ||
| − | The header line starts with "<code>begin</code>", followed by a Unix file permission code and a filename. | + | 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 == | ||
| − | * [http://www.gnu.org/software/sharutils/ GNU sharutils] | + | * [http://www.gnu.org/software/sharutils/ GNU sharutils]: <code>uuencode</code>, <code>uudecode</code> |
| + | |||
| + | == See also == | ||
| + | * [[Xxencoding]] | ||
| + | * [[yEnc]] | ||
| + | |||
| + | == Sample files == | ||
| + | * https://telparia.com/fileFormatSamples/archive/uue/ | ||
== Links == | == Links == | ||
* [[Wikipedia:Uuencoding|Wikipedia article]] | * [[Wikipedia:Uuencoding|Wikipedia article]] | ||
| + | |||
| + | [[Category:E-Mail, newsgroups, and forums]] | ||
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