Skip to Content
0
Former Member
Nov 28, 2009 at 06:37 AM

Character Garbled in the log file

204 Views

HP-UX ia64

Netweaver 7.0

CPS M28.17-35130

DB2 database

HP-UX locale: en_US.utf8

DB2 database encoding: utf8

1: I have Chinese characters directly in the Redwoodscript(Job Definition), which would be printed into jcsErr/jcsOut.

then in the log file, the Chinese characters are garbled.

2: there is a job parameter as input string, and it will be printed into jcsErr/jscOut in the RedwoodScript.

when submitting the job definition, set the parameter with some Chinese Characters,

then in the log file, the Chinese characters are shown properly.

I get down the java file in the /usr/sap/CPT/J00/j2ee/cluster/server0/java/compile0, and open it by Eclipse(utf-8),

and see that the Chinese Characters in the java source file are shown properly.

this is tested in our Product env.

Once in our dev/test env, all is ok.

and now I don't know what the difference causes issue 1.

I have no idear how to trace this problem.

hope you can shed some light to me.