Adapter Configuration Encoding

Adapter configuration encoding includes file and directory encodings, and content encodings. To interoperate with other TIBCO ActiveEnterprise applications, you have to set adapter configuration encoding for the repository correctly.

File and Directory Encodings

The adapter provides support to set the encoding of the file and the directories that it processes at service level. This is provided as a configuration parameter for the service.

Based on the platform encoding on which the runtime adapter runs, you have to set parameters appropriately at design time.

Content Encodings

The adapter provides support to process file contents with various encodings. This is provided as a configuration parameter for the service.

The standard that TIBCO ActiveEnterprise uses is LATIN_1 or ISO-8859-1 for exchanging LATIN_1 or ASCII data, and UTF-8 for other encoding such as SHIFT_JIS.

Depending on the file encoding setting for the adapter configuration, the repository instance encoding has to be correctly set. The repository instance encoding determines whether the data is exchanged in LATIN_1 or UTF-8. The default repository encoding for local or the remote repository is LATIN_1 or ISO-8859-1. This conforms to the file encodings LATIN_1 and ASCII.

When processing other encoding such as SHIFT_JIS, the repository instance encoding must be set to UTF-8.