nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mhfixmsg character set conversion


From: Robert Elz
Subject: Re: mhfixmsg character set conversion
Date: Fri, 04 Feb 2022 21:27:20 +0700

    Date:        Fri, 4 Feb 2022 05:08:20 -0800
    From:        David Levine <levinedl@acm.org>
    Message-ID:  
<CA+G7aU8JyT=VinGnGN9wcb1FxAYqBCKpCgc+yfOkajrgy02TgA@mail.gmail.com>

  | $ printf '\xE9' | iconv -f iso-8859-1 -t utf-8 | hexdump -C
  | 00000000  c3 a9                                             |..|
  |
  | Instead, it got converted to C383C2A9.  I'm not sure why.

printf '\xc3\xa9' | iconv ... (as above)

Clearly it was converted again.  Why that happens I have no idea,
something not updating the current encoding when it should be
perhaps.  Or just forgetting the conversion already happened, and
converting the already converted text whenit shouldn't.

kre



reply via email to

[Prev in Thread] Current Thread [Next in Thread]