emacs-devel
[Top][All Lists]
Advanced

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

Re: utf8 and emacs text/string multibyte representation


From: Stefan Monnier
Subject: Re: utf8 and emacs text/string multibyte representation
Date: Sat, 01 Nov 2014 20:56:03 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

>> Actually, originally Emacs allowed you to treat text (buffers and
>> strings) either as sequences of characters or arrays of bytes, and

This was the case in Emacs-20.1, yes.  It was fixed by Emacs-20.3 or
maybe even 20.2 already.

> string-as-unibyte and string-as-multibyte most certainly are available
> for going from one to the other.

And they both suck.

> I have no idea whether this is a problem vector for creating
> inconsistent multibyte content.

It's mostly a problem in that it helps 8bit people stay stuck in the
confusion between bytes and characters.


        Stefan



reply via email to

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