encode Base64(a, b)


Encodes a text a using the Base64 encoding. First, the text is converted to a byte stream using charset b, then the actual encoding takes place.

Description of Parameters

Parameter

Description

a

Value to be encoded.

b

(optional) Charset to be used. Default: 8859_1

Examples

Parameter a

Parameter b

Result

Täxt

VOR4dA==

Täxt

ASCII

VD94dA==

Täxt

Dummycharset

Function stops with an error.