$encode » History » Revision 9
« Previous |
Revision 9/21
(diff)
| Next »
Per Amundsen, 10/29/2018 05:01 AM
Added in 1.9.0
$encode(text|&binvar, abmut, 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.
abhmut - a = base32 encoding, b indicates a &binvar is specified, h = hmtl coded encoding, m = mine encoding, u = Uuencode (default), t = text (default). (h is AdiIRC only)
N - TODO
Example
; UUencode 'test'. //echo -ag $encode(test) ; UUencode 'test', then decode it. //echo -ag $decode($encode(test))
$encode(%var | &binvar, switches, key, [salt | iv])
TODO
Updated by Per Amundsen about 6 years ago · 9 revisions