From f00ddf9d153001e9f2be219af8cf804db2b06c54 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 23 Dec 2008 18:51:23 +0100 Subject: Install the user-specified locale. * src/guile/skribilo.scm (skribilo): Call `setlocale'. --- NEWS | 1 + src/guile/skribilo.scm | 2 ++ 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index 5ae4a91..e5e860a 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,7 @@ Copyright (C) 2005, 2006, 2007, 2008 Ludovic Courtès ** Improved configure-time diagnostics ** `skribilo' now displays a call stack trace upon error when possible +** `skribilo' now installs the user-specified locale ** New `--custom' compiler option ** Using `(image :url ...)' with `lout' yields a warning, not an error ** New `rss-2' input syntax, for RSS 2.0 feeds diff --git a/src/guile/skribilo.scm b/src/guile/skribilo.scm index f192838..6b088f8 100644 --- a/src/guile/skribilo.scm +++ b/src/guile/skribilo.scm @@ -319,6 +319,8 @@ options." ;; The environment in which the document is evaluated. (make-user-module (string->symbol compat))) + ;; Install the user-specified locale. + (setlocale LC_ALL "") (if (> (*debug*) 4) (set! %load-hook -- cgit v1.2.3