[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: |
Fri, 27 Oct 2006 10:27:24 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> You can represent one of Emacs' supported Latin alphabets in
> (unencoded) unibyte strings, and Emacs will automatically convert to
> and from multibyte.
And this use was very convenient for Emacs-20 where we wanted to keep some
backward compatibility with code that was not MULE-aware.
But nowadays any code which relies on this is simply broken, AFAIC, because
it'll only work in environments using a iso-8859 encoding (more or less) and
will thus be unusable with in asian environments or in utf-8 (which is very
quickly taking over the iso-8859 world).
> However, if you store encoded text in unibyte strings, you are
> responsible for decoding and encoding when necessary. You have to
> keep track, everywhere, of whether the data is encoded or not.
It's pretty easy to keep track of it: unibyte == encoded, multibyte
== decoded.
Stefan
- Re: `.newsrc.eld' saves chinese group name in wrong coding, (continued)
- 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
- 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 <=
- 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, 2006/10/23
- 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