Ns uudecode

From AOLserver Wiki
Jump to: navigation, search

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


NAME

ns_uudecode - Binary-to-text decoding using "htuu" encoding

SYNOPSYS

ns_uudecode string

DESCRIPTION

This command performs a binary-to-text decoding on string.
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_uudecode VGVzdCBzdHJpbmc=
   Test string

SEE ALSO

ns_uuencode, tcllib base64 [1]