Index: usr.bin/locale/locale.c =================================================================== --- usr.bin/locale/locale.c (revision 308220) +++ usr.bin/locale/locale.c (working copy) @@ -283,8 +283,9 @@ /* process '-c', '-k', or command line arguments. */ if (prt_categories || prt_keywords || argc > 0) { + if (prt_keywords) + setlocale(LC_ALL, ""); if (argc > 0) { - setlocale(LC_ALL, ""); while (argc > 0) { showdetails(*argv); argv++;