[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: |
Eli Zaretskii |
Subject: |
Re: `.newsrc.eld' saves chinese group name in wrong coding |
Date: |
Sat, 21 Oct 2006 11:22:40 +0200 |
> Cc: address@hidden, address@hidden, address@hidden,
> address@hidden
> From: Stefan Monnier <address@hidden>
> Date: Fri, 20 Oct 2006 18:06:09 -0400
>
> >> It could be, although it would make sense to manipulate group names in
> >> "encoded" form, in the sense of "not decoded".
>
> > It could ``make sense'', but it's IMO a bad idea, since, as we both
> > know, Emacs is not well suited to handling unibyte strings.
>
> Huh? Unibyte strings are perfectly well supported as far as I know.
>
> You have to be careful to remember which strings are unibyte and which are
> multibyte, so you don't decode multibyte strings or encode unibyte strings,
> and especially not implicitly (by inserting a unibyte string in a multibyte
> buffer or vice versa). So if you mean that it requires discipline, then
> I agree, but otherwise I don't know what you're referring to.
To me, the second paragraph is precisely the meaning of ``not well
suited'' and ``not perfectly supported''. What kind of ``well
supported'' is that if I as a programmer need to carry with each
string additional information, and make sure I know _exactly_ what
primitives are invoked by every function I call, to take care that I
don't inadvertently call something that deep inside assumes I passed a
multibyte string?
That way lies madness.
- Re: `.newsrc.eld' saves chinese group name in wrong coding, (continued)
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Eli Zaretskii, 2006/10/20
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Katsumi Yamaoka, 2006/10/20
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Eli Zaretskii, 2006/10/20
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Katsumi Yamaoka, 2006/10/20
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Richard Stallman, 2006/10/20
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Katsumi Yamaoka, 2006/10/22
- 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, 2006/10/20
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Eli Zaretskii, 2006/10/20
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Stefan Monnier, 2006/10/20
- Re: `.newsrc.eld' saves chinese group name in wrong coding,
Eli Zaretskii <=
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Stefan Monnier, 2006/10/22
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Eli Zaretskii, 2006/10/23
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Stefan Monnier, 2006/10/23
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Eli Zaretskii, 2006/10/23
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Stefan Monnier, 2006/10/23
- Re: `.newsrc.eld' saves chinese group name in wrong coding, Eli Zaretskii, 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, Eli Zaretskii, 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