UUENCODE : Java Glossary

go to home page U words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish punctuation 0-9 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 (all) ©1996-2009 Roedy Green, Canadian Mind Products
UUENCODE
Non-Transparent channels don’t simply pass all characters through unmolested. They treat some of the characters as control characters — commands. In order to send arbitrary text down such channels, you need to convert the special characters into vanilla ones that can get through safely. One technique of converting a file into vanilla before sending is called UUENCODE, similar to BASE64. UUENCODE embeds a filename where BASE64 does not. The uuencode header looks like this:
begin 600 myfile.exe
where the 600 represents the Unix attribute bits in octal. UUENCODE uses the 64 characters ! through ` where base64 uses the 64 characters A..Z, a..z, 0..9 and + and /. UUENCODE encodes a 1-byte length byte on the front of each line, where the length includes the length byte. The length byte itself too is uuencoded. Typically all lines of a uuencoded file but the last are the same length. The uuencode trailer looks like this:
end
Uuencode does not have an RFC officially defining it. There are some variants out there to confuse. Sun has some unofficial support, the undocumented guts of a uuencode/decode called sun.misc.UUEncoder and sun.misc.UUDecoder

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/uuencode.html J:\mindprod\jgloss\uuencode.html
CMP logofeedback Please email your feedback for publication, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.191.106]
You are visitor number 17,226.