--- rxvt-unicode/src/command.C 2004/02/22 10:37:54 1.52 +++ rxvt-unicode/src/command.C 2004/02/22 12:58:02 1.54 @@ -3077,8 +3077,13 @@ change_font (str); break; case XTerm_locale: - set_locale (str); - im_cb (); + if (str[0] == '?' && !str[1]) + tt_printf ("%-.250s\n", locale); + else + { + set_locale (str); + im_cb (); + } break; #if 0 case XTerm_dumpscreen: /* no error notices */