bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#12925: 24.1; string-make-unibyte instead of string-as-unibyte


From: Stefan Monnier
Subject: bug#12925: 24.1; string-make-unibyte instead of string-as-unibyte
Date: Sun, 18 Nov 2012 21:27:17 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Why does inserting multibyte text into a unibyte buffer corrupt it
> like this?

Because the right thing (i.e. signaling an error) was not backward
compatible with broken code that assumed that chars can be presented
with 8bit (i.e. code written in the glory days of latin-N, koi-8, ...).

We could/should probably try to do the right thing now, since such
broken code is probably much less common.


        Stefan





reply via email to

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