From 790d50c36cf29979307895ed29d4a8d854542c02 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 21 Nov 2008 11:44:10 +0100 Subject: Use the C locale. joeyh: What happens if the locale configuration option (ikiwiki.setup) is not a utf8 locale? / Is the C locale utf8? joeyh: I want to share a configuration file between different machines, some of which have en_US.uft8 installed and other haven't. joeyh: Some have de_DE.utf8, but I don't want to have German language for the discussion subpages, for example. joeyh: That's why I thought about simply using the C locale. But you state that it has to be a utf8 locale. C locale is the default, will work fine 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 --- ikiwiki.setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3