[Top][All Lists]

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

Re: Emacs 23 character code space

From: Kenichi Handa
Subject: Re: Emacs 23 character code space
Date: Wed, 26 Nov 2008 13:58:26 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, Kenichi Handa <address@hidden> writes:

> In article <address@hidden>, Eli Zaretskii <address@hidden> writes:
> > > No.  A coding-system is a mapping between a sequence of
> > > characters and a sequence of bytes.

I'll explain it a little bit more.  To decode a character
sequence to a byte sequence, Emacs actually does two kinds
of decoding as below:

             (1)                                (2)
characters <-----> (charset code-point) pairs <-----> bytes

For the decoding of (1), Emacs uses infomaiton of coding
system to decide which charset to use, and then uses
informaiton of the selected charset to get a code point.

For the decoding of (2) Emacs uses only information of
coding system.

Kenichi Handa

reply via email to

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