>>913
locale::global(locale(""));
wcout.imbue(locale("ja_JP.UTF-8"));

もしくはimbueを使わずに
locale::global(locale("ja_JP.UTF-8"));