Possible Duplicate:
C++ source in unicode
I just discovered this line of code in a project:
string überwachung;
I was surprised, because actually I thought you are not allowed to use umlauts like 'äöü' in C++ code other than in strings and so on, and it would result in a compiler error. But this compiles just fine with visual studio 2008.
- Is this a special microsoft feature, or are umlauts allowed with other compilers too?
- Are there any potential problems with that (portability,system language settings..)?
- I can clearly remember this was not allowed. When did it change?
Kind regards for any clarification
P.S.: the tool cppcheck will even mark this usage as an error, even though it compiles