commit:     dd4711b8ad8bdb0d09d731e099ed5e913e630b23
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Fri Jan  9 08:24:24 2026 +0000
Commit:     Kerin Millar <kfm <AT> plushkava <DOT> net>
CommitDate: Fri Jan  9 08:24:24 2026 +0000
URL:        https://gitweb.gentoo.org/proj/locale-gen.git/commit/?id=dd4711b8

Shorten the warning issued for the UTF8 misnomer

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>

 locale-gen | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/locale-gen b/locale-gen
index 62a6149..b92ac18 100644
--- a/locale-gen
+++ b/locale-gen
@@ -358,7 +358,7 @@ sub parse_config ($fh, $path, $supported_by, $be_strict) {
        # Set up a helper routine to issue warnings regarding the UTF8 misnomer.
        my $utf8_warner = sub ($i) {
                print_warning(sprintf
-                       "WARNING! Charmap specified as UTF8 in field #%d 
(should be UTF-8) at %s[%d]: %s\n",
+                       "WARNING! UTF8 should be written as UTF-8 in field #%d 
at %s[%d]: %s\n",
                        $i, $path, $., render_printable($line));
        };
 

Reply via email to