From 7f534336b07527f053f10296e4dd97c303fa2a86 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 14 Mar 2004 22:50:28 +0000 Subject: [project @ 2004-03-14 22:50:28 by bursa] Add setlocale() call in init for better toupper etc. for text-transform. svn path=/import/netsurf/; revision=622 --- desktop/netsurf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop/netsurf.c b/desktop/netsurf.c index c34073503..94234942e 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -6,6 +6,7 @@ * Copyright 2004 James Bursa */ +#include #include #include #include "netsurf/utils/config.h" @@ -52,6 +53,7 @@ void netsurf_init(int argc, char** argv) { stdout = stderr; gui_init(argc, argv); + setlocale(LC_ALL, ""); fetch_init(); cache_init(); fetchcache_init(); -- cgit v1.2.3