#include <iostream>
#include <string>
#include <locale>

using namespace std;

int main() {
     std::locale::global(std::locale(""));     wstring str(L"àáäøęç");
    auto& f = std::use_facet<std::ctype<wchar_t>>(std::locale());
    f.toupper(&str[0], &str[0] + str.size());
    wcout << str << endl;    
	return 0;
}