summaryrefslogtreecommitdiff
path: root/src/devices/grotty/tty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/grotty/tty.cpp')
-rw-r--r--src/devices/grotty/tty.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/grotty/tty.cpp b/src/devices/grotty/tty.cpp
index 0ea7969e..87654107 100644
--- a/src/devices/grotty/tty.cpp
+++ b/src/devices/grotty/tty.cpp
@@ -871,6 +871,7 @@ int main(int argc, char **argv)
if (getenv("GROFF_NO_SGR"))
old_drawing_scheme = 1;
setbuf(stderr, stderr_buf);
+ setlocale(LC_CTYPE, "");
int c;
static const struct option long_options[] = {
{ "help", no_argument, 0, CHAR_MAX + 1 },