path: root/desktop/netsurf.c
diff options
authorVincent Sanders <>2016-09-29 22:37:10 +0100
committerVincent Sanders <>2016-09-29 22:37:10 +0100
commita2396edde4f9746cfeb416ece9e20916de3216a4 (patch)
tree40a35e448d014e3ab4a4f36bd7a41749145ea0d7 /desktop/netsurf.c
parent0dcfc2fc5dbc7b65cb0234dfbf340a22bd625638 (diff)
complete transition to locale independant core operation
The netsurf core no longer uses any locale dependant operations excepting the mall number or cases where such operations are explicitly wanted. the netsurf_init now calls setlocale with the empty string and lets the c library setup as per its specific implementation. any core functionality that specificaly processes ascii text must use the utils/ascii.h header to do so.
Diffstat (limited to 'desktop/netsurf.c')
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index f1daeab05..d129ef72f 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -212,12 +212,11 @@ nserror netsurf_init(const char *store_path)
if (ret != NSERROR_OK)
return ret;
ret = mimesniff_init();
if (ret != NSERROR_OK)
return ret;
- setlocale(LC_ALL, "C");
+ setlocale(LC_ALL, "");
/* initialise the fetchers */
ret = fetcher_init();