Script functions reference > Script functions in alphabetical order > B > Base64DecodeStringUsingCodepage

Base64DecodeStringUsingCodepage
Syntax
Base64DecodeStringUsingCodepage(InputStr, Codepage);
InputStr
Codepage
Codepage defined in the Base64EncodeStringUsingCodepage function.
Description
Decodes a base64 encoded text string that was encoded with the Base64EncodeStringUsingCodepage function.
Returns
The decoded string. If decoding fails an empty string is returned.
Example
$decoded_string = base64DecodeStringUsingCodepage($string, "iso 8859-1");
OpenText StreamServe 5.6 Updated: 2013-03-01