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

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

bug#54591: 29.0.50; sqlite-select returns blob result as multibyte strin


From: Lars Ingebrigtsen
Subject: bug#54591: 29.0.50; sqlite-select returns blob result as multibyte string
Date: Thu, 28 Apr 2022 14:58:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I think we should just leave it to the user, and I think the interface
> that makes the most sense is something like
>
> "insert into ... (?)" (... (propertize binary-data 'coding-system 'binary))
>
> and then signal an error if binary-data isn't unibyte when the string
> has this property.  And then, conversely, don't decode BLOB columns on
> selects.  I think that'll be the most interoperable and convenient we'll
> be able to get.

I've now done this on the trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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