[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need some help with Rmail/mbox
From: |
Daiki Ueno |
Subject: |
Re: Need some help with Rmail/mbox |
Date: |
Sat, 20 Sep 2008 19:04:33 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>>>>> In <address@hidden>
>>>>> "Stephen J. Turnbull" <address@hidden> wrote:
> Paul Michael Reilly writes:
> > But when I started to work on the decoding it seemed that decoding
> > the string before inserting it seemed like a good idea.
> In XEmacs, string decoding is implemented by copying to a temporary
> buffer and doing decode-coding-region there. Emacs is likely the
> same. :-)
Nope, XEmacs does not have the concept of buffer multibyteness.
- If buffer multibyteness is on, both input and output of
`decode-coding-region' are treated as multibyte. I think the input
should be unibyte since it is byte stream.
- If buffer multibyteness is off, both input and output of
`decode-coding-region' are treated as unibyte. So, you have to convert
the output to multibyte manually.
I'd recommend to use `decode-coding-string' and `insert' instead of
`decode-coding-region', if unsure. I heard that the reason why FLIM
does not use `{de|en}code-coding-region' is to avoid this confusion.
Regards,
--
Daiki Ueno
- Need some help with Rmail/mbox, Paul Michael Reilly, 2008/09/18
- Need some help with Rmail/mbox, Stephen J. Turnbull, 2008/09/18
- Re: Need some help with Rmail/mbox, Paul Michael Reilly, 2008/09/19
- Re: Need some help with Rmail/mbox, Eli Zaretskii, 2008/09/19
- Re: Need some help with Rmail/mbox, Stephen J. Turnbull, 2008/09/20
- Re: Need some help with Rmail/mbox,
Daiki Ueno <=
- Re: Need some help with Rmail/mbox, Eli Zaretskii, 2008/09/20
- Re: Need some help with Rmail/mbox, Daiki Ueno, 2008/09/20
- Re: Need some help with Rmail/mbox, Eli Zaretskii, 2008/09/20
- Re: Need some help with Rmail/mbox, Richard M. Stallman, 2008/09/20
- Re: Need some help with Rmail/mbox, Eli Zaretskii, 2008/09/20
- Re: Need some help with Rmail/mbox, Stefan Monnier, 2008/09/21
- Re: Need some help with Rmail/mbox, Eli Zaretskii, 2008/09/21
- Re: Need some help with Rmail/mbox, Stefan Monnier, 2008/09/21
- Re: Need some help with Rmail/mbox, Eli Zaretskii, 2008/09/21
- Re: Need some help with Rmail/mbox, Stefan Monnier, 2008/09/21