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: Eli Zaretskii
Subject: Re: Unibyte characters, strings, and buffers
Date: Sat, 29 Mar 2014 13:48:57 +0300

> From: Andreas Schwab <address@hidden>
> Cc: Eli Zaretskii <address@hidden>,  address@hidden,  address@hidden
> Date: Sat, 29 Mar 2014 10:52:29 +0100
> 
> "Stephen J. Turnbull" <address@hidden> writes:
> 
> > No, I don't.  I already told you how to do it: nuke unibyte buffers
> > and use iso-8859-1-unix as the binary codec.
> 
> No, you use raw-text, representing each non-ascii character in the
> eight-bit charset (this is what string-to-multibyte does).  Using
> latin-1 would lose information.

Right.

So one direction would be use a normal multibyte buffer where raw
bytes are represented as string-to-multibyte does.  Emacs already
supports that.

The next question is what to do with unibyte strings, which are
currently widely used for pure-ASCII text.




reply via email to

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