Campaign | partitions | partition[n] | server | encoding

The property in this category specifies the text encoding for values written to files, to support non-English data.

stringEncoding

Description

The partition[n] > server> encoding > stringEncoding property how Campaign reads in and writes out flat files. It should match the encoding used for all flat files. If not configured elsewhere, this is the default setting for flat file encoding.

Note: WIDEUTF-8 is not supported for this setting.

By default, no value is specified, and outgoing text files are encoded as UTF-8, which is the default encoding for Campaign.

It is a best practice to explicitly set this value to an encoding appropriate for your system, even if the value is UTF-8, the same as the implicit default.

Note: If you do not set the value of the StringEncoding property for data sources in the dataSources category, the value of this stringEncoding property is used as the default value. This can cause unnecessary confusion -- you should always explicitly set the StringEncoding property in the dataSources category.

See the Campaign Administrator's Guide for a list of supported encodings.

Default value

No default value defined.

forceDCTOneBytePerChar

Description

The forceDCTOneBytePerChar property specifies whether Campaign should use the original field width for output files, rather than the potentially expanded width reserved to allow sufficient space for transcoding into UTF-8.

A text value may have different lengths, depending on the encoding used to represent it. When the text value comes from a data source whose stringEncoding property is neither ASCII nor UTF-8, Campaign reserves three times the field width in order to ensure sufficient space for transcoding into UTF-8. For example, if the stringEncoding property is set to LATIN1, and the field in the database is defined as VARCHAR(25), Campaign will reserve 75 bytes to hold the transcoded UTF-8 value. Set the forceDCTOneBytePerChar property to TRUE if you want to use the original field width.

Default value

FALSE

Valid Values

TRUE | FALSE