You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/06/20 00:45:37 UTC

DO NOT REPLY [Bug 10032] New: - utf16 not supported on hpux

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10032>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10032

utf16 not supported on hpux

           Summary: utf16 not supported on hpux
           Product: Xerces-C++
           Version: 1.7.0
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX/SAX2
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: aaron_loyd@hp.com


I'm have an XML document that is UTF8 encoded and contains japanese 
characters.  The SAX parser is returning values using the UTF16 encoding which 
is not supported on HPUX.  I can't figure out how to get the UTF16 to the local 
codepage (SJIS or EUC).  UTF16 is mostly like UCS2, which is supported, but I 
have tried treating the UTF16 data as UCS2 and that does not work.

Two questions:
1).  Has anyone actually done this (convert UTF16 to SJIS/EUC on hpux)? If so, 
how?  No theory please I've gotten lots of theoretical answers none of which 
has worked.

2).  Why does the xerces parser use UTF16 and not UTF8?  UTF8 would be easy but 
UTF16 is causing much grief to anyone not running on Windows.

Thanks in advance,
Aaron

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org