aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--src/guile/skribilo.scm2
2 files changed, 3 insertions, 0 deletions
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 <ludo@gnu.org>
** 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