UUencode is one of the oldest encoding algorithms in IT. It's still very heavily used in Usenet, for example. I don't know what you use for programming, but there should be something which let's you encode and decode the data, PHP has functions for that built-in (
convert_uuencode /
convert_uudecode). For the man pages to the command line equivalents, see
http://opengroup.org/onlinepubs/0079.../uuencode.html
http://opengroup.org/onlinepubs/0079.../uudecode.html