---
name: "ns_uuencode"
section: "3aolserver"
platform: "linux"
package: "aolserver4-dev"
version: "4.5.1-18.1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ns_uudecode"
---

# ns\_uuencode(3aolserver)

commands

Part of [ns\_uudecode(3aolserver)](/ns_uudecode/3aolserver.md).

## NAME

ns\_uudecode, ns\_uuencode - commands

## SYNOPSIS

**ns\_uudecode** *string* **ns\_uuencode** *string*

## DESCRIPTION

**ns\_uudecode** performs HTTP-style uudecoding and returns the decoded value.

**ns\_uuencode** performs HTTP-style uuencoding and returns the encoding  value.  The input *string* is limited to a maximum length of 48 characters.  The encoding string will be approximately 33% longer than the original.

**Note:** This is HTTP-style uuencoding/uudecoding which is sometimes called "htuu" (see RFC 1113).  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  (see http://tcllib.sourceforge.net).

## EXAMPLES

 nscp\> ns\_uuencode username\
  dXNlcm5hbWU=

 nscp\> ns\_uudecode dXNlcm5hbWU=\
  username

## SEE ALSO

nsd(1)

## KEYWORDS
