[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: buffer-swap-text and multibyteness
From: |
Eli Zaretskii |
Subject: |
Re: buffer-swap-text and multibyteness |
Date: |
Tue, 24 Feb 2009 20:48:04 +0200 |
> From: Kenichi Handa <address@hidden>
> CC: address@hidden, address@hidden, address@hidden
> Date: Tue, 24 Feb 2009 17:09:45 +0900
>
> In article <address@hidden>, Eli Zaretskii <address@hidden> writes:
>
> > You are right, rmail-cease-edit was too naive in selecting the correct
> > encoding.
>
> > I think I fixed your use-case now, please try. After base64 decoding
> > the Latin-1 text and manually decoding the text with
> > decode-coding-region, if buffer-file-coding-system cannot safely
> > encode the message, Emacs will ask you to select a safe encoding when
> > you type C-c C-c. You can also set the correct encoding manually
> > before you type C-c C-c. The charset= header is rewritten as needed,
> > as part of putting the modified message back into the message
> > collection buffer.
>
> Thank you, I confirmed that this problem is fixed.
Thanks for testing it.
Btw, while I worked on this, I discovered a strange problem with a
coding-system I never heard about before: iso-2022-jp-2. (It was one
of the encodings select-safe-coding-system suggested for encoding the
text with both Japanese and Latin-1 characters.) Whenever I used
iso-2022-jp-2 to encode the edited message back into the mbox buffer,
Emacs crashed inside GC. Is something wrong with that coding-system?
- Re: buffer-swap-text and multibyteness, (continued)
- Re: buffer-swap-text and multibyteness, Kenichi Handa, 2009/02/11
- Re: buffer-swap-text and multibyteness, Eli Zaretskii, 2009/02/09
- Re: buffer-swap-text and multibyteness, Kenichi Handa, 2009/02/10
- Re: buffer-swap-text and multibyteness, Eli Zaretskii, 2009/02/10
- Re: buffer-swap-text and multibyteness, Kenichi Handa, 2009/02/10
- Re: buffer-swap-text and multibyteness, Eli Zaretskii, 2009/02/21
- Re: buffer-swap-text and multibyteness, Kenichi Handa, 2009/02/24
- Re: buffer-swap-text and multibyteness,
Eli Zaretskii <=
- Re: buffer-swap-text and multibyteness, Kenichi Handa, 2009/02/24
- Re: buffer-swap-text and multibyteness, Eli Zaretskii, 2009/02/24
- Re: buffer-swap-text and multibyteness, Kenichi Handa, 2009/02/26
Re: buffer-swap-text and multibyteness, Eli Zaretskii, 2009/02/01
Re: buffer-swap-text and multibyteness, Stefan Monnier, 2009/02/02
Re: buffer-swap-text and multibyteness, Richard M Stallman, 2009/02/01
Re: buffer-swap-text and multibyteness, Kenichi Handa, 2009/02/01