summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2008-11-21 11:44:10 +0100
committerThomas Schwinge <tschwinge@gnu.org>2008-11-21 11:44:10 +0100
commit790d50c36cf29979307895ed29d4a8d854542c02 (patch)
tree59ebae5c9e23d05dc510132e169b701b1dca4312
parentad75cac5b15615e206c601ca21cc65618f357b49 (diff)
Use the C locale.
<tschwinge> joeyh: What happens if the locale configuration option (ikiwiki.setup) is not a utf8 locale? / Is the C locale utf8? <tschwinge> joeyh: I want to share a configuration file between different machines, some of which have en_US.uft8 installed and other haven't. <tschwinge> joeyh: Some have de_DE.utf8, but I don't want to have German language for the discussion subpages, for example. <tschwinge> joeyh: That's why I thought about simply using the C locale. But you state that it has to be a utf8 locale. <joeyh> C locale is the default, will work fine <joeyh> I think that I said utf-8 in the description there because, if you chose some locale that did not use utf-8 or plain ascii, ikiwiki wo\ uld still use utf-8 for its internals and output a mess
-rw-r--r--ikiwiki.setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/ikiwiki.setup b/ikiwiki.setup
index 7f09d8aa..65e5b076 100644
--- a/ikiwiki.setup
+++ b/ikiwiki.setup
@@ -82,7 +82,7 @@ IkiWiki::Setup::Standard->import({
# strftime format string to display date
timeformat => '%c',
# UTF-8 locale to use
- locale => 'en_US.utf8',
+ locale => 'C',
# put user pages below specified page
userdir => 'user',
# how many backlinks to show before hiding excess (0 to show all)