ENCODE
The ENCODE function encodes the input data according to the algorithm selected.
Input/Output
Number of Connections: 1
| Input | Data Type | Description |
| Input1 | Binary,String | The data to convert. |
| Output | Data Type | Description |
| Output1 | String | The encoded data. |
Property
| Name | Property Type | Description |
| Algorithm | choice | Defines the algorithm used to encode the data:
| base64 | - |
encodes the data to base64
|
| quoted-printable | - |
encodes the data to quoted-printable
|
| uuencode | - |
encodes the data to uuencode
|
|
| Encoding | choice | If the input data is of type String, this property specifies the encoding used to convert it to binary data before encoding processing is done. This property is ignored if the input is not of type String.
| utf-8 [utf-8]
| - |
Unicode utf-8
|
| shift_jis [shift_jis]
| - |
Shift JIS
|
| euc-jp [euc-jp]
| - |
EUC-JP
|
| iso-2022-jp [iso-2022-jp]
| - |
ISO-2022-JP
|
| utf-16 [utf-16]
| - |
Unicode utf-16
|
|
Example
| Property | Output |
| Input 1 | Infoteria | Algorithm | base64 | SW5mb3Rlcmlh |
| | Encoding | utf-8 | |