fork download
  1. #include <iostream>
  2. #include <locale>
  3. int main()
  4. {
  5. std::locale::global(std::locale("en_US.utf8"));
  6. std::wcout.imbue(std::locale());
  7. std::wcout << L"电影院";
  8. }
Success #stdin #stdout 0s 4572KB
stdin
Standard input is empty
stdout
电影院