From AOLserver Wiki
- ns_uuencode - Binary-to-text encoding using "htuu" encoding
- ns_uuencode string
- This command performs a binary-to-text encoding on string. There is an arbitrary limit of 48 bytes for the input string. The encoded string will be approximately 33% longer than the original.
- NOTE: This is HTTP-style uuencoding/uudecoding which is sometimes called "htuu" (see RFC 1113, 22.214.171.124 Step 4 Printable Encoding). It is not compatible with the format used by the Unix uuencode/uudecode commands, nor is it base-64 encoding.
- For base-64 encoding, consider using the base64 Tcl package in tcllib.
% ns_uuencode "Test string" VGVzdCBzdHJpbmc=