How to set default character encoding forTIBCO ActiveMatrixNode JVM.

How to set default character encoding forTIBCO ActiveMatrixNode JVM.

book

Article ID: KB0093754

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) -
Not Applicable -

Description

Description:
Since data represented as bytes and Strings are essentially a collection of characters, to convert bytes into characters JVM needs to know which combination of byte represents which character. This is what character encoding tells JVM. Since there are many languages other than English and there so many characters, the same combination of bytes can represent different characters in different character encoding. This is why using the  correct character encoding is necessary when converting bytes to String in Java. The application in the AMX Node may return special characters in incorrect encoding.

Resolution

For the AMX Node JVM, the following steps set file encoding.


1). Go to the Administrator GUI, Infrastructure->Nodes-> select the node->Configuration->JVM Configuration->

2). Add " -Dfile.encoding=UTF-8" into the Node JVM configuration. Click the "Save" button.

3). Click the "Install or Sync" button.
 
4). Restart the node.

Issue/Introduction

How to set default character encoding forTIBCO ActiveMatrixNode JVM.

Additional Information

http://javarevisited.blogspot.de/2012/01/get-set-default-character-encoding.html