aboutsummaryrefslogtreecommitdiff
path: root/src/dillo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dillo.cc')
-rw-r--r--src/dillo.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index a42b0dab..d80798ed 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <time.h>
#include <signal.h>
+#include <locale.h>
#include <fltk/Window.h>
#include <fltk/TabGroup.h>
@@ -368,6 +369,9 @@ int main(int argc, char **argv)
}
}
+ /* We use utf-8 internally, force character conversions follow suit */
+ setlocale (LC_CTYPE, "en_US.utf8");
+
fltk::run();
/*