emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs 23 character code space


From: Eli Zaretskii
Subject: Re: Emacs 23 character code space
Date: Wed, 26 Nov 2008 06:13:48 +0200

> From: Kenichi Handa <address@hidden>
> CC: address@hidden
> Date: Wed, 26 Nov 2008 10:41:01 +0900
> 
> In article <address@hidden>, Eli Zaretskii <address@hidden> writes:
> 
> >       A character set is a set of characters, and it assigns a unique code
> >     point to each character belonging to the set.  Emacs decodes a
> >     specific code point of a specific character set to an Emacs character.
> 
> > Does this mean a character set is equivalent to a coding-system,
> > meaning that a coding-system is a mapping between a character set and
> > the Emacs internal codepoints?
> 
> No.  A coding-system is a mapping between a sequence of
> characters and a sequence of bytes.

Then how to understand this sentence you wrote:

  Emacs decodes a specific code point of a specific character set to
  an Emacs character.

Under what circumstances does this decoding happen?  The only type of
``decoding'' I knew about until now was by decode-coding-region and
friends, which use a coding-system to decode a byte sequence into
Emacs characters.




reply via email to

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