According to the documentation it should work:
Identifier characters.
The C and C++ standards allow identifiers to be composed of `_' and the alphanumeric characters. C++ and C99 also allow universal character names, and C99 further permits implementation-defined characters. GCC currently only permits universal character names if -fextended-identifiers is used, because the implementation of universal character names in identifiers is experimental.
The UCS and Unicode characterset is almost the same (according to wikipedia).
German umlauts also do not work for me, so either the documentation is incorrect or the intersection of ucs and utf is not as large as thought.
So as I understand you have to add "-fextended-identifiers" to the compilation line , have you tried it ?
I don't understand why they even bother to implement it...
Well as you may know there are some people who don't speak english natively , so it would be handy to have the option to write with your own alphabet :roll:
So here's what I understood :
--C::B has no problem with UTF
--GCC has no problem with UTF in comments , but
--C++ by standard works only with ASCII ,so it won't compile with non-ASCII in the code
--Still there is an experimental option to include universal letter identifiers with GCC
Now where do I try this option out , because I don't have experience with configuring the compiler ?