Lebesgue spine: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>David Eppstein
m stub sorting
 
en>Hvn0413
mNo edit summary
Line 1: Line 1:
Irwin Butts is what my wife enjoys to call me though I don't truly like becoming known as like that. I am a meter reader but I plan on changing it. To do aerobics is a thing that I'm totally addicted to. Minnesota has always been his house but his spouse desires them to move.<br><br>My blog post: [http://www.hamcass.org/index.php?document_srl=268708&mid=gido http://www.hamcass.org/]
'''Xxencode''' is an [[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.<ref>{{cite web|url=http://www.upenn.edu/computing/printout/archive/v11/4/keys.html|title=Keys to the kingdom: Unlocking Internet file formats|date=February 1995|author=Tony Catone|publisher=[[University of Pennsylvania]]}}</ref>
 
== The encoding process ==
Xxencoded data starts with a line of the form:
 
  begin <mode> <file>
 
Where <tt><mode></tt> is the file's read/write/execute permissions as three octal digits, and <tt><file></tt> 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 <math>n</math>th 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.
 
== See also ==
* [[Binary-to-text encoding]] for a comparison of various encoding algorithms
 
== External links ==
* [http://www.webutils.pl/XXencode XXENCODE-XXDECODE] - Free on-line XXEncoder and XXDecoder
 
== References ==
<references/>
 
[[Category:Unix software]]
[[Category:Binary-to-text encoding formats]]
 
[[de:Xxencode]]

Revision as of 14:14, 22 May 2013

Xxencode is an 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.[1]

The encoding process

Xxencoded data starts with a line of the form:

 begin <mode> <file>

Where <mode> is the file's read/write/execute permissions as three octal digits, and <file> 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.

See also

External links

References

de:Xxencode