[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unibyte characters, strings, and buffers
From: |
Richard Stallman |
Subject: |
Re: Unibyte characters, strings, and buffers |
Date: |
Sat, 29 Mar 2014 20:24:11 -0400 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
Is there any need, nowadays, for a unibyte character to imply
a character set?
Originally unibyte buffers were meant as a backward compatibility
feature for old Emacs versions in which al buffers were unibyte.
Nowadays, I think we use unibyte buffers mainly (perhaps exclusively)
for buffers whose contents are largely not characters at all.
For those buffers, there is no reason to interpret the contents
as characters in any particular way. We could consider them as
bytes, and nothing else.
This means converting those bytes to characters could be done by
explicit operations where you would specify what sort of conversion
you want.
--
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
Use Ekiga or an ordinary phone call.
- Re: Unibyte characters, strings, and buffers, (continued)
- Re: Unibyte characters, strings, and buffers, Stephen J. Turnbull, 2014/03/29
- Re: Unibyte characters, strings, and buffers, David Kastrup, 2014/03/29
- Re: Unibyte characters, strings, and buffers, Stephen J. Turnbull, 2014/03/29
- Re: Unibyte characters, strings, and buffers, David Kastrup, 2014/03/29
- Re: Unibyte characters, strings, and buffers, Stephen J. Turnbull, 2014/03/29
- Re: Unibyte characters, strings, and buffers, David Kastrup, 2014/03/30
- Re: Unibyte characters, strings, and buffers, Stephen J. Turnbull, 2014/03/30
- Re: Unibyte characters, strings, and buffers, Andreas Schwab, 2014/03/30
- Re: Unibyte characters, strings, and buffers, David Kastrup, 2014/03/30
- Re: Unibyte characters, strings, and buffers, Andreas Schwab, 2014/03/29
- Re: Unibyte characters, strings, and buffers,
Richard Stallman <=
- Re: Unibyte characters, strings, and buffers, Stefan Monnier, 2014/03/29
- Re: Unibyte characters, strings, and buffers, Richard Stallman, 2014/03/30
- Re: Unibyte characters, strings, and buffers, Andreas Schwab, 2014/03/29
- Re: Unibyte characters, strings, and buffers, Stephen J. Turnbull, 2014/03/29
- Re: Unibyte characters, strings, and buffers, Andreas Schwab, 2014/03/29
- Re: Unibyte characters, strings, and buffers, Nathan Trapuzzano, 2014/03/29
- Re: Unibyte characters, strings, and buffers, Nathan Trapuzzano, 2014/03/29
- Re: Unibyte characters, strings, and buffers, David Kastrup, 2014/03/29
- Re: Unibyte characters, strings, and buffers, Nathan Trapuzzano, 2014/03/29
- Re: Unibyte characters, strings, and buffers, Richard Stallman, 2014/03/29