Difference between revisions of "Ns uuencode"

From AOLserver Wiki
Jump to navigation Jump to search
(imported from WiKit id 923)
 
(Undo revision 5572 by Daniel (Talk))
 
(No difference)

Latest revision as of 15:06, 23 November 2009

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