На Sun, 18 Jan 2009 22:56:48 +0300 Alexey Pechnikov <pechni...@sandy.ru> записано:
> Из описания: > wchar_t > Integer type whose range of values can represent distinct > wide-character codes for all members of the largest character set > specified among the locales supported by the compilation environment: > the null character has the code value 0 Здесь про 2 байта ничего не сказано. > > wchar_t - это два байта, то есть UTF-16, откуда возьмется utf-32? [...@thus:/tmp]$ cat char.c (23:16 18/01/09) #include <stdio.h> #include <wchar.h> int main(){ printf("%d\n", sizeof(wchar_t)); } [...@thus:/tmp]$ gcc char.c -o char (23:17 18/01/09) [...@thus:/tmp]$ ./char (23:17 18/01/09) 4 [1] 11145 exit 2 ./char [...@thus:/tmp]$ -- Best regards, Alexander GQ Gerasiov Contacts: e-mail: g...@cs.msu.su Jabber: g...@jabber.ru Homepage: http://gq.net.ru ICQ: 7272757 PGP fingerprint: 0628 ACC7 291A D4AA 6D7D 79B8 0641 D82A E3E3 CE1D -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org