set CTYPE locale category only; leave others in "C" locale
diff --git a/got/got.c b/got/got.c
index ee35492..bedd053 100644
--- a/got/got.c
+++ b/got/got.c
@@ -113,7 +113,7 @@ main(int argc, char *argv[])
int ch;
int hflag = 0;
- setlocale(LC_ALL, "");
+ setlocale(LC_CTYPE, "");
while ((ch = getopt(argc, argv, "h")) != -1) {
switch (ch) {
diff --git a/tog/tog.c b/tog/tog.c
index 8d1f3a2..b4d264a 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -3562,7 +3562,7 @@ main(int argc, char *argv[])
int ch, hflag = 0;
char **cmd_argv = NULL;
- setlocale(LC_ALL, "");
+ setlocale(LC_CTYPE, "");
while ((ch = getopt(argc, argv, "h")) != -1) {
switch (ch) {