All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "D. Barbier" <bouzim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Peter Schiffer <pschiffe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: Simon Paillard
	<spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>,
	linux-man <linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] Changes.old: fix encoding issues
Date: Tue, 18 Feb 2014 09:36:22 +0100	[thread overview]
Message-ID: <CAKgNAkgVAW2xtaewWTiYYbBqCChChaxPj3pxrsX9k0wCUWL1mw@mail.gmail.com> (raw)
In-Reply-To: <CAKgNAkghN-Z_cwPAFk=VUdj8gME0GoRp0ta_uqdUHzc7MJ4y0w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Tue, Feb 18, 2014 at 7:49 AM, Michael Kerrisk (man-pages)
<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hello Denis, Peter,
>
> On Mon, Feb 17, 2014 at 11:39 PM, D. Barbier <bouzim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> On 2014-02-17 16:44 GMT+01:00 Michael Kerrisk (man-pages) wrote:
>>> On Mon, Feb 17, 2014 at 4:33 PM, Simon Paillard <spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> wrote:
>>>> On Mon, Feb 17, 2014 at 02:15:51PM +0100, Michael Kerrisk (man-pages) wrote:
>>>>> On 02/16/2014 02:48 PM, Simon Paillard wrote:
>>>>> > Introduced in 33972b0b231b9b0ee708f27fe42461dbca6e2968
>>>>>
>>>>> Bother! I still didn't get it right.
>>>>>
>>>>> Thanks for the patch! Applied.
>>>>
>>>> BTW, I check the rendering of the iso 8859 -11 and -13 manpages before/after
>>>> the change and I think there is something to be fixed too.
>>>
>>> Oh -- that was automated with some scripts by Peter Schiffer, and the
>>> results looked okay to me, but maybe I did not look closely enough.
>>> What problems do you see?
>>
>> Hello,
>>
>> Simon is right, Peter's script handles iso_8859-{11,13}.7 in a
>> different way, I do not understand why.
>> You can fix them with:
>>   for f in iso_8859-11 iso_8859-13; do
>>     cp man7/$f.7 $f
>>     iconv -f utf8 -t latin1 $f | iconv -f iso-${f#iso_} -t utf8 > man7/$f.7
>>   done
>
> Denis, thanks for the scripts.
>
> Peter, perhaps we've missed something. Was there a reason to treat
> iso_8859-{11,13}.7 differently?

Got it. iconv(1) does not understand the some encoding names that
start "iso_", but does understand the corresponding forms "iso-".
Thus, iso_8859-11.7 and iso_8859-13.7 weren't acceptable, and Peter's
script (mis-)worked around this. The correct approach, AFAICT is to
use the forms iso-8859-11.7 and iso-8859-13.7. I committed a change to
the script to fix that.

Denis, I've applied your change.

Simon, thanks for catching this.

Peter, sorry I didn't better review the original change.

Cheers,

Michael



-- 
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

  parent reply	other threads:[~2014-02-18  8:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-16 13:48 [PATCH] Changes.old: fix encoding issues Simon Paillard
     [not found] ` <1392558491-19116-1-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2014-02-17 13:15   ` Michael Kerrisk (man-pages)
     [not found]     ` <53020B87.5050408-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-02-17 15:33       ` Simon Paillard
     [not found]         ` <20140217153345.GU15288-xazfMhTT2R0@public.gmane.org>
2014-02-17 15:44           ` Michael Kerrisk (man-pages)
     [not found]             ` <CAKgNAkjNSGA-p0ytpWNkBK84wf8pS3U0oMeFh9aZJjKiK8sDEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-17 21:34               ` iso_8859-{11,13}.7 fix encoding issues ? Simon Paillard
     [not found]                 ` <20140217213411.GX15288-xazfMhTT2R0@public.gmane.org>
2014-02-18  9:11                   ` Michael Kerrisk (man-pages)
2014-02-17 22:39               ` [PATCH] Changes.old: fix encoding issues D. Barbier
     [not found]                 ` <CAMqf4EEO4uUeVu_bb64YtNqBYPa1dQMCzvwgM4GFeUEKY2d4WQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-18  6:49                   ` Michael Kerrisk (man-pages)
     [not found]                     ` <CAKgNAkghN-Z_cwPAFk=VUdj8gME0GoRp0ta_uqdUHzc7MJ4y0w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-18  8:36                       ` Michael Kerrisk (man-pages) [this message]
     [not found]                         ` <CAKgNAkgVAW2xtaewWTiYYbBqCChChaxPj3pxrsX9k0wCUWL1mw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-18  8:54                           ` Michael Kerrisk (man-pages)
     [not found]                             ` <CAKgNAkgZ3RotoQ+G4jAgC=wauZdNjQVOgES79HEJWB8RstOctw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-18  9:35                               ` D. Barbier
     [not found]                                 ` <CAMqf4EESwERnthDWRkNUx-q+KrikR2j+7EyjxWGmY_rTf4ZLsg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-18 11:09                                   ` Michael Kerrisk (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKgNAkgVAW2xtaewWTiYYbBqCChChaxPj3pxrsX9k0wCUWL1mw@mail.gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=bouzim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=pschiffe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.