Subscription Service - Encoding Tab

The Encoding tab is available for both Record Transfer mode and Simple File Transfer mode.

Note: By default, the repository encoding is ISO-8859-1. When the file system or file content encoding is set to any encoding other than ASCII or ISO-8859-1, you have to set the repository encoding to UTF-8. If the repository encoding field is not set correctly, messages might be corrupted.
The Encoding tab contains the following fields:
Field Description
File System Encoding Provides aliases for the following commonly used encoding for file and directory names: ASCII, ISO8859-1, UTF-8, Shift JIS (CP943), Shift JIS (TIBCO), EUC-JP, Big5, and Other.

When you select Other, you can enter an encoding string that is not present in the list. For a list of encoding strings, see TIBCO ActiveMatrix Adapter for Files for Unix/Win Concepts.

Note: When an invalid or unsupported encoding value is specified, an error occurs at run time.

The default option is UTF-8, and only the default option is supported.

File System Encoding Other This field is available only when you select Other in the File System Encoding list. Enter an encoding string that is not present in the list. For a list of encoding strings, see TIBCO ActiveMatrix Adapter for Files for Unix/Win Concepts.
Note: The supported option for the File System Encoding field is UTF-8, so you cannot enter value for this field.
File Content Encoding Provides aliases for the following commonly used encoding for file contents: ASCII, ISO8859-1, UTF16_BigEndian, UTF16_LittleEndian, UTF-8, Shift JIS (CP943), Shift JIS (TIBCO), EUC-JP, Big5, and Other.

When you select Other, you can enter an encoding string that is not present in the list. For a list of encoding strings, see TIBCO ActiveMatrix Adapter for Files for Unix/Win Concepts.

The File Content Encoding option is unavailable when you select Simple File Transfer mode from the Transfer Mode list (in the Configuration tab) and select Binary from the File Transfer Mode list (in the SFT tab).

Note: When an invalid or unsupported encoding string value is specified, an error is displayed at run time.
File Content Encoding Other This field is available only when you select Other in the File Content Encoding list.
End of Line Select method according to how the lines in the input file are separated.
  • System

    Uses a carriage return (new line) to mark the end of a line. The separator is dependent on run time. It follows the DOS convention on Microsoft platforms, and the Unix convention on Unix platforms.

  • DOS

    A carriage return and line feed.

  • UNIX

    A line feed.

  • Unicode

    Unicode Line Separator. Use only in conjunction with UTF8, UTF16BE, or UTF16LE file encoding.

  • User Defined

    You can define characters to mark the end of line. Specify the characters in the User Defined EOL field.

Note: The End of Line option is unavailable when the transfer mode is Simple File Transfer.
User Defined EOL This field is available when you select User Defined in the End of Line list. Enter characters to mark the end of a line.
Note: The End of Line and User Defined EOL fields are unavailable when the transfer mode is Simple File Transfer.
Byte Order Mark Byte Order Mark applies to UTF-8 only. The option is not supported in Java.