1. Can anybody tell me why this outputs: Ros? (My locale is: en_US.UTF-8 and I'm using gcc)
2. I need wchar_t if I want to use chars with accents ?
3. Can I use UTF-8 with wchar_t ?
UTF-8 and wchar_t are mutually exclusive. If your terminal supports unicode you should be able to use unicode in ordinary strings(technically an accidental feature, but gcc at least should tolerate this) though will have to be aware that one byte is no longer necessarily one character.