summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-08-29 23:37:33 +0200
committerLudovic Courtès <ludo@gnu.org>2015-08-29 23:56:47 +0200
commitb26365186045530eadb5027087a37ca1a440aee9 (patch)
tree88307c9023543618d3caff808fee3969fce574f5 /gnu
parent3d20ebd6cb09c328c06ea197489aa84802bed5a8 (diff)
downloadguix-b26365186045530eadb5027087a37ca1a440aee9.tar.gz
doc: Mention the "normalized codeset" used in locale names.
* doc/guix.texi (Locales): Introduce "codeset".
  <%default-locale-definitions>: Mention the "normalized codeset", with
  an xref to libc's manual.
* gnu/system/locale.scm (%default-locale-definitions)[utf8-locale]:
  Mention the "normalized codeset" in a comment.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system/locale.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/system/locale.scm b/gnu/system/locale.scm
index be9abcb81d..393dd42354 100644
--- a/gnu/system/locale.scm
+++ b/gnu/system/locale.scm
@@ -83,6 +83,8 @@
   (letrec-syntax ((utf8-locale (syntax-rules ()
                                  ((_ name*)
                                   (locale-definition
+                                   ;; Note: We choose "utf8", which is the
+                                   ;; "normalized codeset".
                                    (name (string-append name* ".utf8"))
                                    (source name*)
                                    (charset "UTF-8")))))