On 01/18/2016 12:07 PM, Marko Myllynen wrote: > Hi, > > On 2016-01-18 13:00, Florian Weimer wrote: >> On 01/18/2016 11:56 AM, Marko Myllynen wrote: >>> Addresses https://bugzilla.kernel.org/show_bug.cgi?id=104511. >>> >>> --- >>> man1/locale.1 | 4 ++++ >>> 1 file changed, 4 insertions(+) >>> >>> diff --git a/man1/locale.1 b/man1/locale.1 >>> index c10355f..505191d 100644 >>> --- a/man1/locale.1 >>> +++ b/man1/locale.1 >>> @@ -162,6 +162,10 @@ $ \fBlocale \-ck date_fmt\fP >>> LC_TIME >>> date_fmt="%a %b %e %H:%M:%S %Z %Y" >>> >>> +$ \fBlocale -c charmap\fP >>> +LC_CTYPE >>> +UTF-8 >>> + >> >> I think this needs a comment that it shows the charset, or something like >> >> For example, the keyword >> .B charmap >> causes >> .BR locale (1) >> to display the character set for the locale. > > Fair enough, how about this? > > > Addresses https://bugzilla.kernel.org/show_bug.cgi?id=104511. Applied. Thanks, Marko. Cheers, Michael > --- > man1/locale.1 | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/man1/locale.1 b/man1/locale.1 > index c10355f..a1cdfd8 100644 > --- a/man1/locale.1 > +++ b/man1/locale.1 > @@ -65,6 +65,8 @@ metadata about each locale to be included in the output. > .TP > .BR \-m ", " \-\-charmaps > Display the available charmaps (character set description files). > +To display the current character set for the locale, use > +\fBlocale -c charmap\fR. > .PP > The > .B locale > > Thanks, > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html