Hi, Cannot read you question code in IE. Where did you use Unicode string? Identifier or literal? If it is in identifier, GCC does not support it, beacause GCC thought C99 standard has problem. If it is in literal, your usage has problem. As I remembered, accroding GCC document, source code will first be transfered to UTF-8 encoding, then be parsed. YANG RongWei 2004-8-23 Shanghai, China
From: "Stephen Holmes" <sholmes@novell.com> To: <m17n@suse.com> Subject: [m17n] GCC and Unicode Date: Fri, 20 Aug 2004 15:56:01 +0200
Hi Folks,
This isn't directly related to SUSE - I just happen to be using it, but I had a question about GCC's handling of an input file encoded as UTF-8. If I have something like
char * lstr = Sch�ne Gr��e
Will the compiler compile this to UCS-4 internally, or just leave it as a byte sequence?
Thanks in advance. Steve.
S t e p h e n H o l m e s Localisation Manager, Novell
Tel: +353-1-605-8087 Cell: +353-833-5027 Fax: +353-1-605-8200
Novell Inc., the leading provider of information solutions "This e-mail was sent from a 100% Linux desktop. We're back, we're loud, and we're serious"
_________________________________________________________________ �������������ĵ����ʼ�ϵͳ�� MSN Hotmail�� http://www.hotmail.com
participants (1)
-
我 不知道