C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unicode in C++ source files

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Alex J. Dam
Guest





PostPosted: Fri Jan 30, 2004 10:28 pm    Post subject: Unicode in C++ source files Reply with quote




Hi.

I found this in the 1997 standard draft under 2.10:

An identifier is an arbitrarily long sequence of letters and digits.
Each universal-character-name in an identifier shall designate a char-
acter whose encoding in ISO 10646 falls into one of the ranges speci-
fied in _extendid_.

Does it really mean that C++ compilers should accept identifiers with
accented letters and all?
If it does, is there a compiler which accepts them?

Thanks.

--
Alex J. Dam
"Oh, I got plenty o' nuttin',
an' nuttin's plenty fo' me"
-- Porgy

Back to top
White Wolf
Guest





PostPosted: Fri Jan 30, 2004 11:40 pm    Post subject: Re: Unicode in C++ source files Reply with quote



Alex J. Dam wrote:
Quote:
Hi.

I found this in the 1997 standard draft under 2.10:

An identifier is an arbitrarily long sequence of letters and digits.
Each universal-character-name in an identifier shall designate a char-
acter whose encoding in ISO 10646 falls into one of the ranges speci-
fied in _extendid_.

Does it really mean that C++ compilers should accept identifiers with
accented letters and all?
If it does, is there a compiler which accepts them?

IIRC it was mentioned somewhere in the moderated newsgroup. Basically what
the language lawyers there explained was that there are
implementation/platform dependent things involved here, so code using such
characters would not be portable. I mean you would need to convert it just
like you need to convert old MS-DOS stuff if you want to display it in
Windows. And IIRC to that problem they have attributed that fact that no
compiler implements this. Since I have only a vague recollection of this
postings I might be wrong.

--
WW aka Attila
:::
Whales are mammals. Mammals have hair. SHAVE THE WHALES!



Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.