From b26365186045530eadb5027087a37ca1a440aee9 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 29 Aug 2015 23:37:33 +0200 Subject: 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. --- gnu/system/locale.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu/system/locale.scm') 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"))))) -- cgit 1.4.1