Xml Error Character Issue Utf-8

SGMN

New Member
Problem with Chinese characters in XML .
Database : 11.2 -cpstream and –cpinternal cp950-hkscs
Database server : HP UX 11iv3 PA-RISC

When I connect [client server ] in Windows-7 and generate the XML , with encoding UTF-8 all Chinese characters are fine.

If I run the same program in HP-UX directly and generate the XML , chinese characters are wrong.
Same issue happens when I connect the database using AppServer [Linux] and generate XML.

FYI – All startup.pf and connect pf are using the same –cpstream and –cpinternal cp950-hkscs.

Am I missing something ? Can anyone please help ? Advance thanks
 

TheMadDBA

Active Member
What are the other codepage related parameters?

How did you verify the XML? If you are simply looking at it on the Unix side the display code page may not be correct. Download the untouched XML file to Windows to verify.
 

SGMN

New Member
What are the other codepage related parameters?

How did you verify the XML? If you are simply looking at it on the Unix side the display code page may not be correct. Download the untouched XML file to Windows to verify.

Thanks for your reply TheMadDBA. Yes we downloaded the file untouched to windows. [Chinese characters are not displayed correctly]
for codepage the database : cp950-HKSCS
database collation : basic

for code page related , we use only two parameters in 'pf' file when connect to database
-cpstream cp950-HKSCS
-cpinternal cp950-HKSCS
 
Top