[xsl] loading XML message with JAVA including Chinese text fails becaus e of invalid UTF8 encoding

Subject: [xsl] loading XML message with JAVA including Chinese text fails becaus e of invalid UTF8 encoding
From: Derous Benny <benny.derous@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Apr 2002 17:47:52 +0200
Hi,

I get an error message when trying to load chinese characters => invalid UTF8 encoding
This is the command I use to load the message : 

java oracle.xml.parser.v2.oraxsl -d $INFILEDIR -i XML -s $PARSER_PATH -o $INFILEDIR -r JAVA -t 1 -e $INFILEDIR/parser_error.out

This fails with "invalid UTF8 encoding" but only for Chinese characters (English and Polish characters are loaded successfully). Chinese characters are multi-byte. Is this the reason why the message can not be loaded ? Do I need to set a different encoding in the message : <?xml version="1.0" encoding="UTF-8"> or do I need to set "lang" ?

I tried chaging the encoding value from UTF-8 to other character settings but many of them are not supported.

Anyone a suggestion ?


Specs :
- database : Oracle 8.1.7 database with character set UTF8
- os : IBM AIX 4.3.3  (Unix)
- Oracle XML parser for JAVA
- XSL 1.0 (XSL stylesheet)

Benny Derous
benny.derous@xxxxxxxxxxxxxxxxxxxx

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread