Customizing Character Encoding for the Siebel Java Data Bean

The character encoding of the Siebel Server and the character encoding of the Siebel client must be the same. This allows the Siebel client and the Siebel Server to communicate correctly. If the Siebel client and the Siebel Server default character encoding cannot be the same, then you can modify the Siebel client character encoding.

To customize character encoding for the Siebel Java Data Bean

  • To set the file.encoding system property to the proper character encoding, do one of the following:

    • Set it for the entire Java Virtual Machine on the command line. For example:

      java -Dfile.encoding=ascii java_application
      
    • Set it in the environment variable. For more information, see your particular Java Virtual Machine.

    • Set it for a particular Java component. Add the following line to the Java component:

      System.setProperty("file.encoding", CodePageValue);

      where:

      • CodePageValue is a Siebel value that specifies character encoding for the Java Data Bean.

The following information lists character encoding mappings you can use for the Java Data Bean. The Siebel Value column contains the codes you can specify in the CodePageValue variable.

Java Value Siebel Value

ascii

1

cp1252

1252

iso8859_1

1252

iso8859-1

1252

unicodebig

1201

unicodelittle

1200

utf8

65001

big5

950

cp942

932

cp942c

932

cp943

932

cp943c

932

cp949

949

cp949c

949

cp950

950

cp1250

1250

cp1251

1251

cp1253

1253

cp1254

1254

cp1255

1255

cp1256

1256

cp1257

1257

cp1258

1258

gbk

936

ms874

874

ms932

932

ms936

936

ms949

949

ms950

950

sjis

932

tis620

874