fixencoding

Decode or encode a data extract.

Introduction

Use the decode enrichment to fix the encoding of a data extract. Alternatively, you can use this enrichment to encode data into a certain encoding format.

Creating the enrichment

For more information on creating an enrichment, see Using custom scripts.

Configuring the enrichment

To configure the enrichment, fill in the following fields. Required fields are marked with an asterisk (*).

Decode

Select the encoding format in which to decode the data. You cannot select this option if you are encoding the data in the same enrichment.

Encode

Select the encoding format in which to encode the data. You cannot select this option if you are decoding the data in the same enrichment.

Subtable

Enter the name for a subtable that you want to contain the enriched data. The enrichment is applied to the whole data extract, then the enriched data is output into the subtable you have named here.

This subtable is a temporary table, which means it only exists for this custom script. You can apply additional instructions within the same custom script to the subtable. However, the subtable cannot be used in any other custom scripts.