emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `.newsrc.eld' saves chinese group name in wrong coding


From: Richard Stallman
Subject: Re: `.newsrc.eld' saves chinese group name in wrong coding
Date: Fri, 27 Oct 2006 09:33:35 -0400

    > There is a big difference between unibyte strings and encoded unibyte
    > strings.

    What is that difference?

You can represent one of Emacs' supported Latin alphabets in
(unencoded) unibyte strings, and Emacs will automatically convert to
and from multibyte.

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.

We implemented the ability to do encoding manually because sometimes
it is necessary to decode parts of a file in different ways (e.g.,
mailboxes).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]