Subject: bug#50560: 28.0.50; 'insert-file-contents-literally' on multibyte buffers

From: Eli Zaretskii <[email-masked]>
Date: Mon, 13 Sep 2021 16:26:10 +0300

> From: Augusto Stoffel <[email-masked]>
> Cc: [email-masked]
> Date: Mon, 13 Sep 2021 14:44:24 +0200
> 
> > It is only essential for some very specific uses of the resulting
> > buffer, but definitely not for all.
> 
> That's a good point.  Maybe the issue is actually with 'create-image',
> which seems to only work correctly when the data is passed as a unibyte
> string, but gives no warning if you pass a multibyte one.

Maybe we should have create-image convert the :data string to unibyte
if it isn't already so.