emacs-devel
[Top][All Lists]
Advanced

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

Re: Unibyte characters, strings, and buffers


From: Andreas Schwab
Subject: Re: Unibyte characters, strings, and buffers
Date: Sun, 30 Mar 2014 16:25:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

David Kastrup <address@hidden> writes:

> I don't think it gets much more transparent than "unibyte flag only
> marks the valid Unicode-in-Emacs character range".  I'm for the range
> 0..255, Andreas for something like 0..127 U 4194176..4194303 which
> IĀ find cumbersome for little return.

Before decoding there is no charset information yet, so using anything
other than the eight-bit charset would be wrong.  After decoding, the
eight-bit charset is used only for undecodable bytes.  That preserves
the distinction between encoded and decoded strings/buffers (except for
the uninteresting trivial ASCII decoding) in a world without unibyte
flag.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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