aboutsummaryrefslogtreecommitdiffstats
path: root/console/record.c
diff options
context:
space:
mode:
Diffstat (limited to 'console/record.c')
-rw-r--r--console/record.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/console/record.c b/console/record.c
index c42c49b..d76e793 100644
--- a/console/record.c
+++ b/console/record.c
@@ -6,6 +6,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
+#include <locale.h>
#include <curses.h>
#include <signal.h>
#include <inttypes.h>
@@ -574,6 +575,8 @@ main(int argc, char *argv[])
record = 0;
nr = 0;
+ setlocale(LC_ALL,"");
+
/* parse options */
for (;;) {
if (-1 == (c = getopt(argc, argv, "vhlci:o:d:m:r:t:s:L:p:n:")))

Privacy Policy