Re: Strange characters in Toolbar
Re: Strange characters in Toolbar
- Subject: Re: Strange characters in Toolbar
- From: "Sean McBride" <email@hidden>
- Date: Mon, 17 Nov 2003 23:19:28 -0500
Andrew Thompson (email@hidden) on Mon, Nov 17, 2003 22:46 said:
>
Essentially because there's no C language standard for Unicode string
>
literals.
I'm not a language lawyer, but I remember something from the CodeWarrior
9 release notes... Ah, yes, here it is:
"As per ISO C++98 and C99, universal characters may be used in any string
or character literal, identifiers (macros, variables, functions, methods,
etc.), and comments. These characters are derived either from multibyte
sequences in the source text, by virtue of the source file being encoded
in UCS-2 or UCS-4, or by use of the \uXXXX or \UXXXXXXXX escape sequences."
If I read that right, I should be able to have unicode string literals.
And as Obj-C is an 'extension' to C (C99 or C89?) I would expect the @""
notation to be able to support it. Maybe it works with CW 9 even though
it doesn't work with gcc...
>
In the real world however, there are all sorts of
>
small conveniences with being able to deal with something richer than 7
>
bit ASCII in code.
Not the least of which being non-English speakers to use their own
language for variable names, etc! This is often overlooked in my experience.
(PS: It's 2003, and Apple's mailing lists can't even deal with French
characters, part of MacRoman. Sigh. I'm talking about Exposi here)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.