* man 7 ascii confusion
@ 2013-11-22 4:45 Duncan de Wet
[not found] ` <20131122044518.GA11154-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Duncan de Wet @ 2013-11-22 4:45 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Manpages version 3.44-0ubuntu1 distribution Linux Mint 15.
In man 7 ascii, there is the following sentence:
> Many 8-bit codes (such as ISO 8859-1, the Linux default character set)
> contain ASCII as their lower half.
Locales now use UTF-8 by default. This sentence should probably be
changed to something explaining how UTF-8 works, like:
> Many 8-bit codes contain ASCII as their lower half. The Linux default
> character set, UTF-8, fits thousands of characters through non-ASCII
> characters using more than one upper-half byte.
Or something like that, I'm no expert.
--
Duncan de Wet
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: man 7 ascii confusion
[not found] ` <20131122044518.GA11154-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2014-02-26 10:06 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-02-26 10:06 UTC (permalink / raw)
To: Duncan de Wet; +Cc: linux-man
Hello Duncan,
On Fri, Nov 22, 2013 at 5:45 AM, Duncan de Wet <duncandewet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Manpages version 3.44-0ubuntu1 distribution Linux Mint 15.
>
> In man 7 ascii, there is the following sentence:
>
>> Many 8-bit codes (such as ISO 8859-1, the Linux default character set)
>> contain ASCII as their lower half.
>
> Locales now use UTF-8 by default. This sentence should probably be
> changed to something explaining how UTF-8 works, like:
>
>> Many 8-bit codes contain ASCII as their lower half. The Linux default
>> character set, UTF-8, fits thousands of characters through non-ASCII
>> characters using more than one upper-half byte.
>
> Or something like that, I'm no expert.
I agree that something should be fixed, but simplest I think is to
remove mention of 8859-1 as the default. There is already a utf-8(7)
page that explains UTF-8 at some length.
I applied the patch below, and I'll also add utf-8(7) under SEE ALSO.
Cheers,
Michael
diff --git a/man7/ascii.7 b/man7/ascii.7
index 5f064c1..88979dc 100644
--- a/man7/ascii.7
+++ b/man7/ascii.7
@@ -38,8 +38,7 @@ ascii \- ASCII character set encoded in octal,
decimal, and hexadecimal
.SH DESCRIPTION
ASCII is the American Standard Code for Information Interchange.
It is a 7-bit code.
-Many 8-bit codes (such as ISO 8859-1, the
-Linux default character set) contain ASCII as their lower half.
+Many 8-bit codes (e.g., ISO 8859-1) contain ASCII as their lower half.
The international counterpart of ASCII is known as ISO 646.
.LP
The following table contains the 128 ASCII characters.
--
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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-26 10:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-22 4:45 man 7 ascii confusion Duncan de Wet
[not found] ` <20131122044518.GA11154-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-02-26 10:06 ` Michael Kerrisk (man-pages)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).