Ns uuencode

From AOLserver Wiki
Revision as of 15:06, 23 November 2009 by Josephbui (talk | contribs) (Undo revision 5572 by Daniel (Talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Man page: http://aolserver.com/docs/tcl/ns_uuencode.html


NAME

ns_uuencode - Binary-to-text encoding using "htuu" encoding

SYNOPSYS

ns_uuencode string

DESCRIPTION

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, 4.3.2.4 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.

EXAMPLE

   % ns_uuencode "Test string"
   VGVzdCBzdHJpbmc=

SEE ALSO

ns_uudecode, tcllib base64 [1]

Category Documentation - Category Core Tcl API