I am using the correct Java encoding name even though
I typed in "UTF-16." The question is why does xerces
map UTF-8 to the correct java encoding but doesn't map
"UTF-16" to the correct java encoding?
Thanks,
-Ken
"Min Lee" <[EMAIL PROTECTED]> on 09/11/2001 10:50:23 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Ken West/SYBASE)
Subject: Re: Why doesn't xerces support UTF-16 encoding?
It could be the version of JDK you're using. "UTF-16" is not a valid
encoding name in JDK1.2.x
http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html
>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Why doesn't xerces support UTF-16 encoding?
>Date: Tue, 11 Sep 2001 15:48:11 -0600
>
>
>
>Hi,
>
>I am trying to use xml with an encoding of "UTF-16". Why doesn't xerces
>support "UTF-16" and I am getting the "UTF-16 is not supported" error.
>More over, why doesn't xerces have a mapping for "UTF-16" to Java's
>encoding? Below is the stack trace I get.
>
>Any explanation would help out a great deal.
>
>Also, the archives list not not working for xercesJ, for users?
>
>Exception in thread "main"
com.sybase.DataBean.exception.DataBeanException:
>DataBeanOpaque::createDocument JDOM
>---->Exception->Error on line 0: The encoding "UTF-16" is not supported.
at
>com.sybase.DataBean.util.DataBeanOpaque.createDocument(DataBeanOpaque.java:608)
>
> at datatypesxsd.SchemaDatatypes.<init>(SchemaDatatypes.java:74)
> at datatypes_client.main(datatypes_client.java:25)
>
>Thanks,
>Ken
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]