From 5571940201474888678
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f78e5,35a35bec39c95517
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2001-03-16 15:27:58 PST
Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!feeder.qis.net!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: qrczak@knm.org.pl (Marcin 'Qrczak' Kowalczyk)
Newsgroups: comp.std.c++
Subject: Re: wchar & Unicode
Date: Fri, 16 Mar 2001 23:22:58 GMT
Organization: Klub Nieszkodliwych =?iso-8859-2?Q?Manjak=F3w?=
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <slrn9b4s42.g58.qrczak@qrnik.zagroda>
References: <remove.haberg-1503011129330001@du130-226.ppp.su-anst.tninet.se> <98st13$rob$1@serv1.iunet.it>
X-Trace: mail2news.demon.co.uk 984785004 mail2news:5041 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
NNTP-Posting-Date: 16 Mar 2001 19:58:58 GMT
User-Agent: slrn/0.9.6.3 (Linux)
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mulga.cs.mu.OZ.AU id KAA29201
Lines: 30
Xref: supernews.google.com comp.std.c++:3901

Fri, 16 Mar 2001 19:43:25 GMT, Andrea Ferro <AndreaF@UrkaDVD.it> pisze:

> And specifically if the implementation is to support all your
> cases then wchar_t will be a signed or unsigned 32 bit integral
> (that may be int, unsigned, long or unsigned long depending on
> the implementation.

No, in C++ wchar_t is a keyword which denotes a distinct type.
In C wchar_t may be e.g. a typedef for int.


Fri, 16 Mar 2001 11:02:26 GMT, Ron Natalie <ron@sensor.com> pisze:

> All the implementations I've dealt with use the 16 bit encoding
> for unicode (i.e. wchar_t is unsigned short).

On Linux wchar_t has 32 bits.

--=20
 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZAST=CAPCZA
QRCZAK

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]



