[ expat-Bugs-480278 ] UTF-16 Unsupport?

noreply@sourceforge.net noreply@sourceforge.net
Sun Nov 11 20:00:01 2001


Bugs item #480278, was opened at 2001-11-09 17:59
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=480278&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: UTF-16 Unsupport?

Initial Comment:
Hi!
I did re-compile expat 1.95.2 with VC++ 6.0 to support
unicode characters.
And I wrote XML document encoding schema as UTF-16, 
but parser might generate following error message:

error code : 19
error text : encoding specified in XML declaration is 
incorrect.

What's wrong???

My test xml doc. ------------------------------

<?xml version="1.0" encoding="UTF-16"?>
<TEST>
  <ABCD>
    <A>This is a   test"</A>
  </ABCD>
</TEST>

----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2001-11-11 19:59

Message:
Logged In: YES 
user_id=290026


Worked fine for me.
I pasted your text from above into Wordpad,
saved it as a Unicode Text file, and Expat
accepted it without problems.

Karl

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=480278&group_id=10127