Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , 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 Content-Type: text/plain; charset="us-ascii" Date: Wed, 1 May 2002 18:58:32 +1000 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Robert Collins" To: "Pavel Tsekov" Cc: "Gary R. Van Sickle" , "Cygwin-Apps" Content-Transfer-Encoding: 8bit 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 > 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