aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/ex2ht.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hyper/ex2ht.c')
-rw-r--r--src/hyper/ex2ht.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hyper/ex2ht.c b/src/hyper/ex2ht.c
index b59e505e..fb667e3e 100644
--- a/src/hyper/ex2ht.c
+++ b/src/hyper/ex2ht.c
@@ -46,6 +46,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
+#include <locale.h>
#include "cfuns.h"
@@ -266,6 +267,7 @@ main(int argc, char **argv)
{
int i;
+ setlocale(LC_ALL, "");
if (argc == 1) {
fprintf(stderr, "usage: %s exfile.ht ...\n", argv[0]);
return (-1);