diff options
author | Ludovic Courtès | 2008-12-23 18:51:23 +0100 |
---|---|---|
committer | Ludovic Courtès | 2008-12-23 18:51:23 +0100 |
commit | f00ddf9d153001e9f2be219af8cf804db2b06c54 (patch) | |
tree | 353eac3e4d925fd3b51e68cce4fa30999bbb4929 | |
parent | aa7a833d2cddd754a9364ec16b9a500bf68cde90 (diff) | |
download | skribilo-f00ddf9d153001e9f2be219af8cf804db2b06c54.tar.gz skribilo-f00ddf9d153001e9f2be219af8cf804db2b06c54.tar.lz skribilo-f00ddf9d153001e9f2be219af8cf804db2b06c54.zip |
Install the user-specified locale.
* src/guile/skribilo.scm (skribilo): Call `setlocale'.
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/guile/skribilo.scm | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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 |