From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Sun, 12 Dec 2021 10:33:56 +0100 Message-ID: <87k0gacgl7.fsf@gnus.org> References: <87tufmjyai.fsf@gnus.org> <87sfv5ljxn.fsf@gnus.org> <8735n5leza.fsf@gnus.org> <837dch1qox.fsf@gnu.org> <87ee6odu65.fsf@gnus.org> <83h7bjye0b.fsf@gnu.org> <87sfv360np.fsf@gnus.org> <83lf0vw6sg.fsf@gnu.org> <87k0gd1cl3.fsf@gnus.org> <83zgp8svkw.fsf@gnu.org> <83ilvvqwu8.fsf@gnu.org> <87bl1mihb7.fsf@gnus.org> <83k0gapacz.fsf@gnu.org> <874k7ee01l.fsf@gnus.org> <838rwqp4x7.fsf@gnu.org> <87o85mchkg.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22035"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 12 10:37:21 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwLIH-0005Wl-Am for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 10:37:21 +0100 Original-Received: from localhost ([::1]:52744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwLIG-0002lK-Ai for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 04:37:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwLF8-0007Qq-4R for emacs-devel@gnu.org; Sun, 12 Dec 2021 04:34:06 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=36378 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwLF6-0004nW-O7; Sun, 12 Dec 2021 04:34:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bUChdfuX1ZbrC2zy0BMhNLRXCkd+IrHwrG0YXh+kWtE=; b=PaTVqU9xwgFniqV2pbf3rMFTHQ OAq8gDHF/VxZpkgcLgZo/303+k12/ck+8fs36I/YulEY4iST2n5QHmEMRcMi8nxhK3O/iSwspM8Br f5yBIdaJqX4Rmj9SzpgT+JlpPRdJaUu14AGAQcLCDcOVd5poPofAk1gqepC1FcPH+a/I=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwLF1-0003uh-5C; Sun, 12 Dec 2021 10:34:02 +0100 X-Now-Playing: Leslie Winer's _When I Hit You, You'll Feel It_: "N1 Ear" In-Reply-To: <87o85mchkg.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 12 Dec 2021 10:12:47 +0100") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281782 Archived-At: Lars Ingebrigtsen writes: >> So the question is: do we tolerate eight-bit raw bytes in file names >> passed to sqlite3? > > If this is really the case (and the documentation isn't just glossing > over details), then I guess we don't tolerate that? I did some googling, and it seems like the documentation is correct here -- the file name passed to sqlite3_open_v2 should indeed be utf-8 only. (There are other variants of the open* functions that do other things, but using them have other side effects.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no