As of Spotfire Server version 12.1, when data tables imported using Information Links contain garbled UTF-8 encoded characters and symbols (Chinese, Japanese, accented, cyrillic, etc.), the following settings need to be added as Java runtime options in Spotfire Information Services process:
-Dfile.encoding=utf-8
-Dsun.jnu.encoding=utf-8
1. On Spotfire Server machine, run 'export-config' command to export the configuration from the Spotfire database to a configuration file:
config export-config configuration.xml
where "configuration.xml" is optional and the -f (--force) option is not applied.
2. Update the configuration in the configuration file using these commands:
Windows:
config config-external-information-services-process -A-Dfile.encoding=utf-8
config config-external-information-services-process -A-Dsun.jnu.encoding=utf-8
Linux:
./config.sh config-external-information-services-process -A-Dfile.encoding=utf-8
./config.sh config-external-information-services-process -A-Dsun.jnu.encoding=utf-8
3. Run the 'import-config' command to import the updated configuration file into the Spotfire database:
config import-config --comment="Added UTF-8 support in Information Services" configuration.xml
where "configuration.xml" is optional.
4. Restart Spotfire Server(s).
Reference:
Command-line reference for 'config-external-information-services-process':
https://docs.tibco.com/pub/spotfire_server/14.0.1/doc/html/TIB_sfire_server_tsas_admin_help/server/topics/config-external-information-services-process.html
Updating a server configuration on the command line:
https://docs.tibco.com/pub/spotfire_server/14.0.1/doc/html/TIB_sfire_server_tsas_admin_help/server/topics/updating_a_server_configuration_on_the_command_line.html
Comments
0 comments
Article is closed for comments.