Xxencode

Xxencode

Xxencode is an obsolete binary-to-text encoding similar to Uuencode which uses only the alphanumeric characters, and the plus and minus signs. It was invented as a means to transfer files in a format which would survive character set translation, particularly that between ASCII and the EBCDIC encoding used on IBM mainframes. [http://www.upenn.edu/computing/printout/archive/v11/4/keys.html]

The encoding process

Xxencoded data starts with a line of the form:

begin

Where is the file's read/write/execute permissions as three octal digits, and is the name to be used when recreating the binary data.

Xxencode repeatedly takes in groups of three bytes, adding trailing zeroes if there are fewer than three bytes left. These 24 bits are split into four 6-bit numbers, each of which is then translated to the nth character in the following table:

1 2 3 4 5 6 0123456789012345678901234567890123456789012345678901234567890123
| | | | |
+-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

Each group of sixty output characters (corresponding to 45 input bytes) is output as a separate line preceded by an encoded character giving the number of encoded bytes on that line. For all lines except the last, this will be the character 'h' (the character mapping to the value 45). If the input is not evenly divisible by 45, the last line will contain the remaining N output characters, preceded by the number of remaining input bytes encoded as above. Finally, a line containing just a single space (or plus character) is output, followed by one line containing the string "end".

Xxencoded data is generally distinguishable from Uuencoded data by the first character of the line ('h' for Xxencode, 'M' for Uuencode). This assumes at least one full-length line (45 encoded bytes/60 characters) in the output.

ee also

* Uuencode
* Binary-to-text encoding


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Xxencode — UUencode war das erste verbreitete Programm, das es ermöglichte, Binärdateien (also z. B. Bilder oder Programme) so umzuwandeln, dass sie nur noch aus „druckbaren ASCII Zeichen“ bestehen und dadurch problemlos per E Mail verschickt werden konnten …   Deutsch Wikipedia

  • Uuencode — war das erste verbreitete Programm, das es ermöglichte, Binärdateien (also z. B. Bilder oder Programme) so umzuwandeln, dass sie nur noch aus „druckbaren ASCII Zeichen“ bestehen und dadurch problemlos per E Mail verschickt werden konnten, in… …   Deutsch Wikipedia

  • UUencode — war das erste verbreitete Programm, das es ermöglichte, Binärdateien (also z. B. Bilder oder Programme) so umzuwandeln, dass sie nur noch aus „druckbaren ASCII Zeichen“ bestehen und dadurch problemlos per E Mail verschickt werden konnten, in …   Deutsch Wikipedia

  • Uuencoding — is a form of binary to text encoding that originated in the Unix program uuencode, for encoding binary data for transmission over the uucp mail system. The name uuencoding is derived from Unix to Unix encoding . Since uucp converted characters… …   Wikipedia

  • Список расширений имени файла/X — / * A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Примечание: Поскольку расширение имени файла может быть любым, представленный список не является полным …   Википедия

  • UUE — У этого термина существуют и другие значения, см. Унуненний. UUE (англ. Uuencode)  метод представления двоичных данных в текстовой форме, пригодной для передачи через средства, предназначенные только для передачи текстов (например,… …   Википедия

  • Штирлиц (программа) — У этого термина существуют и другие значения, см. Штирлиц (значения). Штирлиц Внешний вид программы Тип Шифрование, к …   Википедия

  • Codificación de binario a texto — Codificación binario a texto es un tipo de codificación de transporte de datos , que tiene la finalidad de proteger los datos que se envían a otros ordenadores y evitar así daños debido a ciertas restricciones de la capa de la red de transmisión… …   Wikipedia Español

  • XX — Double Cross (Governmental » Military) Double Cross (Governmental » US Government) * Female Sex Chromosome (Medical » Physiology) * Roman Numeral 20 (Academic & Science » Mathematics) * XXdecode XXencode Encoded file archive (ASCII) (Computing »… …   Abbreviations dictionary

  • XXE — XMLmind XML Editor (Computing » Software) * XML External Entities (Computing » Software) * XXencode Encoded file archive (ASCII) (Computing » File Extensions) …   Abbreviations dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”