[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

loading XML message with JAVA including Chinese text f

Subject: loading XML message with JAVA including Chinese text fails because of invalid UTF8 encoding
From: Derous Benny <benny.derous@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Apr 2002 17:47:52 +0200
java chinese
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.