Encoding converter

Encoding converter

The Encoding converter is used to convert the encoding of the MessagePart-In into another encoding. The encoding from which you convert should be identified in Source Encoding and the encoding to which you convert should be identified in Target Encoding.


In the table below, you will find an explanation of these properties. All attributes with a ‘*’ are mandatory. 

Attribute

Description

Name*

By default, we fill this out with the technical ‘tag’, followed by a serial number. Changing the name is optional.

Enabled

Set this value to true, if you want this service to be enabled.

Source Encoding*

Source encoding identifier. You can lookup any encoding on this page: https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html

Target Encoding*

Target encoding identifier. You can lookup any encoding on this page: https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html

Enable XML

Enables 'parsing XML document' and 'convert xml header encoding'. The default is false. Only useful when handling XML messages. It will also write the <?xml header with the correct encoding.

Deliver As Bytes

Force delivery of the output as a byte-array. The default is false. When set to false the output messagepart type will match the type of the input messagepart.

Remove BOM

Removes any detected BOM from the incoming bytestream when Source Encoding is set to UTF-*. Default is set to true.

Coding Error Action*

Action to take in case of conversion error. Defaults to IGNORE, meaning the character will be ignored. When set to REPLACE, the character will be replaced with the character defined in the replace-character property.

Replace Character

Replace character to use when coding-error-action is set to REPLACE.

MessagePart-In

Name of the MessagePart in a ConnectMessage where the content of the file is being stored.

MessagePart-Out

Name of the MessagePart in a ConnectMessage where the content of the file is being stored.

Description

Description of the specific service. This is for documentation purposes.