Hi Brian,

Yes, they will always be 2 bytes on all platforms, since that's what UTF-16
mandates.

Dave



                                                                                       
                                       
                      Brian Quinlan                                                    
                                       
                      <brian@sweetapp.         To:      [EMAIL PROTECTED]       
                                       
                      com>                     cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                  
                                               Subject: RE: Semantics of string types  
                                       
                      01/26/2003 03:10                                                 
                                       
                      PM                                                               
                                       
                      Please respond                                                   
                                       
                      to xalan-dev                                                     
                                       
                                                                                       
                                       



> So, all WIN32/64 compilers should use wchar_t, as should AIX 32-bit.
I
> don't know about any of the other Unix platforms.  Linux is an
entirely
> different story, as wchar_t can even be EBCDIC, depending on the
platform.

So sizeof(XalanDOMChar) == sizeof(XMLCh) == 2 on all platforms?

> The only reason that ifdef exists in Xalan is because I started to do
a
> Borland port (but gave up), and had to do that first.
>
> We didn't ever figure the whole URIResolver thing, did we?  It's
probably
> too late to do that for the next release, but we ought to revive that
> discussion and settle on something.

Sounds good to me. I'll start reviewing where we were before the
discussion ended.

Cheers,
Brian



Reply via email to