nmh-workers
[Top] [All Lists]

Re: mhfixmsg character set conversion

2022-02-04 08:37:52
    Date:        Fri, 4 Feb 2022 05:08:20 -0800
    From:        David Levine <levinedl(_at_)acm(_dot_)org>
    Message-ID:  
<CA+G7aU8JyT=VinGnGN9wcb1FxAYqBCKpCgc+yfOkajrgy02TgA(_at_)mail(_dot_)gmail(_dot_)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


<Prev in Thread] Current Thread [Next in Thread>