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: Kenichi Handa
Subject: Re: Emacs 23 character code space
Date: Wed, 26 Nov 2008 10:51:51 +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>, Stefan Monnier <address@hidden> writes:

> > What exactly is meant here by ``8-bit characters''?  Do you mean
> > eight-bit raw bytes, or do you mean Unicode characters whose
> > codepoints are below 256?

> It should be eight-bit raw bytes.  In some cases it's difficult to tell
> the difference, so Emacs may occasionally accept latin-1 chars as stand
> ins for eight-bit raw bytes.

I classified characters into ASCII chars, non-ASCII chars,
and 8-bit chars at the beginning of "@node Text
Representations".  And, unibyte text can contain ASCII and
8-bit chars, multibyte text can contain all chars.

> I think we should state somewhere that unibyte strings and buffers
> contain bytes only.  And that multibyte strings and buffers contain
> chars.  And that bytes are a subset of chars.

I'm not sure that is good as far as the Lisp reader returns
a unibyte string from "abc".

---
Kenichi Handa
address@hidden




reply via email to

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