The Base64 class / security.Base64 methods |
Encodes the given string in base64, according to a given charset.
security.Base64.FromStringWithCharset( source STRING, charset STRING ) RETURNING result STRING
Encodes the given string and returns it in base64.
Before conversion, the string is converted from the local DVM charset to the specified encoding.
In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).