www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/05/01/04:58:40

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
content-class: urn:content-classes:message
Subject: RE: Re[2]: libgetopt++ and setup and libstdc++
MIME-Version: 1.0
Date: Wed, 1 May 2002 18:58:32 +1000
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Message-ID: <FC169E059D1A0442A04C40F86D9BA7600C5F68@itdomain003.itdomain.net.au>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Pavel Tsekov" <ptsekov AT syntrex DOT com>
Cc: "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net>,
"Cygwin-Apps" <cygwin-apps AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g418weR31197


> -----Original Message-----
> From: Pavel Tsekov [mailto:ptsekov AT syntrex DOT com] 
> Sent: Wednesday, May 01, 2002 6:53 PM

> Zero terminated strings (C style strings) has nothing to do with the
> basic_string template class. basic_string can contain any character
> including \0. Its much the same as the STL vector. The WCHAR here
> specifies the size of storage of a single character...
> 
> I.e. you can have typedef basic_string<struct SomeStrangeChar>
> SomeStrangeCharString;

Cool. Does it handle MBCS (as opposed to) DBCS ?
 
> RC> Finally, note that Unicde requires 21 bits of storage, so 
> a 16 bit WCHAR
> RC> will still involve multi-byte sequence.
> 
> Quote from "The C++ Programming Language":
> 
>   "A wide character - that is, an object of type wchar_t ($4.3) - is
>   like a char, except that it take up two or more  bytes."

That's cool, except wchar_t is actually 8 bit on some platforms
(shouldn't affect us, we're going off topic here :})

> Btw I read somewhere else that Windows does not support the full
> japanese characterset, but only the most used characters.

Yeah, I recall something like that too.. hmmm..

Rob

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019