Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 5 Advanced Topics : Setting Encoding Options

Setting Encoding Options
Complete the following steps prior to running the adapter so it can handle files in different encodings.
1.
The wire format encoding used for communication between adapters and TIBCO applications is determined by the encoding property set in the project. The adapter configuration can be saved in a project:
If the adapter configuration is saved to a project in an Administration server domain, TIBCO messaging encoding is determined by the repo.encoding property in the server's tibcoadmin.tra file. Each adapter or TIBCO-enabled application that uses the Administration server for storing and retrieving configuration data from a project uses this encoding setting when communicating. This assures that all components (including adapters and other TIBCO-enabled applications) that use the same repository also use the same encoding value to communicate. The repo.encoding property value can be ISO8859-1 (the default) or UTF8. If English or other Latin-1 language data is transmitted between adapters, ISO8859-1 should be used. Otherwise, use UTF8.
If an adapter instance is saved in a local project, the TIBCO messaging encoding is determined by the encoding property of the local project file. To communicate with other adapters using the same encoding, all adapters and applications must have their local project file encoding property set to be identical. The encoding value is set on the root project folder, in the Save Project dialog box, TIBCO Messaging Encoding field. The default value is ISO8859-1.
The encoding property set in the project file is superseded by the server's encoding property.
The encoding property discussed above is the encoding used by the communication between adapters and applications, not the encoding used for the persistent storage of the project files. Project files are always saved using UTF8.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved