decode Base64()
This function decodes a Base64 encoded text. The text a is first converted into a byte sequence according to the Base64 method and then into the result text with the character encoding specified in b.
The behaviour of the function if an error occurs during decoding is controlled by parameter c.
Parameters
Parameter |
Description |
a |
Base64-coded text to be decoded. |
b |
(optional) Character encoding to be used for result text. Default: "8859_1". Note: Use the three dots to select a value. |
c |
(optional) Error behaviour for decoding errors. Allowed values: "keep", "empty", "error". Default: "keep". Note: Use the three dots to select a value. Note: Incorrect entries in parameter b always lead to an error abort. "keep" - The return value of the function is a. "empty" - The return value of the function is an empty string with set Empty Flag . "error" - Profile terminates with an error. |
Examples
Parameter a |
Parameter b |
Parameter c |
Result |
VOR4dA== |
|
|
Täxt |
VOR4dA== |
ASCII |
|
T?xt |
VOR4dA== |
Dummycharset |
|
Profile terminates with an error. |
VOR4dA==XXX |
|
keep |
VOR4dA==XXX |
VOR4dA==XXX |
|
error |
Profile terminates with an error. |