[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `.newsrc.eld' saves chinese group name in wrong coding
From: |
Stefan Monnier |
Subject: |
Re: `.newsrc.eld' saves chinese group name in wrong coding |
Date: |
Mon, 23 Oct 2006 15:16:44 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> This said, I agree that Emacs should help more. E.g. by signalling an
> error when trying to insert multibyte text into a unibyte buffer.
> This operation converts the string to unibyte.
Indeed. Using a default (and poorly specified) encoding method.
> It works correctly, provided the characters in that string can be
> expressed in the unibyte buffer.
But which characters can be expressed is poorly specified. E.g. Tell me
which chars can be expressed in a unibyte buffer in a BIG5 locale?
> If people generally agree it would be better to signal an error,
> we could do that. However, that would cause trouble trying to use
> M-y to move past multibyte entries in the kill ring to reach the
> unibyte entry you really want.
When the insertion is a user-level operation, the elisp code should make
sure to manually do the encoding/decoding, using e.g. the default file
coding-system.
Stefan
- Re: `.newsrc.eld' saves chinese group name in wrong coding, (continued)
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Richard Stallman, 2006/10/25
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Eli Zaretskii, 2006/10/25
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Richard Stallman, 2006/10/26
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Eli Zaretskii, 2006/10/27
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Richard Stallman, 2006/10/27
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Stefan Monnier, 2006/10/27
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Richard Stallman, 2006/10/28
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Eli Zaretskii, 2006/10/28
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Richard Stallman, 2006/10/29
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Richard Stallman, 2006/10/23
- Re: `.newsrc.eld' saves chinese group name in wrong coding,
Stefan Monnier <=
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Richard Stallman, 2006/10/24
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Stefan Monnier, 2006/10/24
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Richard Stallman, 2006/10/25
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Richard Stallman, 2006/10/25
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Kenichi Handa, 2006/10/26
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Kenichi Handa, 2006/10/20
Re: `.newsrc.eld' saves chinese group name in wrong coding, Kenichi Handa, 2006/10/19