Added in 1.9.0

$encode(text|&binvar, bhmut, N)

Encode text or &binvar using Uuencode, Mime or html codes.

If encoding a &binvar, returns the actual number of characters written to the &binvar.

Default is Uuencode.

Parameters

text|&binvar - The text or a &binvar to encode.
bhmut - b = indicates a &binvar is specified, h = hmtl codes encoding, m = mine encoding, u = Uuencode.
N - TODO