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

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

bug#64697: 29.0.92: cannot paste NUL on macOS (regression from Emacs 28)


From: Mattias Engdegård
Subject: bug#64697: 29.0.92: cannot paste NUL on macOS (regression from Emacs 28)
Date: Tue, 18 Jul 2023 14:00:49 +0200

18 juli 2023 kl. 13.28 skrev Eli Zaretskii <eliz@gnu.org>:

> do we want a unibyte string
> here or a multibyte string?
>  We should try to call either
> make_unibyte_string or make_multibyte_string accordingly, because
> make_string has its own ideas about which one to produce.

That is more than I expected to change in emacs-29, but we could do that too if 
you like.

Since the input is UTF-8 the result, with the patch, will always be either a 
multibyte string or a unibyte ASCII string. Always making a multibyte string 
would also do and be marginally faster, but not more correct in any meaningful 
way.






reply via email to

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