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: Mon, 13 Dec 2021 05:05:46 +0100 Message-ID: <871r2htahx.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> <87k0gacgl7.fsf@gnus.org> <834k7ep26q.fsf@gnu.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="31536"; 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 Mon Dec 13 05:06:40 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 1mwcbn-00081z-S8 for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Dec 2021 05:06:39 +0100 Original-Received: from localhost ([::1]:41130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwcbm-0000pL-6Z for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 23:06:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwcb3-0008LO-IX for emacs-devel@gnu.org; Sun, 12 Dec 2021 23:05:53 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=43834 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 1mwcb1-0000zU-Ue; Sun, 12 Dec 2021 23:05:53 -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=HAv0V/Iv/qVS/ASKIs9Iz6BM/Tgninwh7J/tbF4u4rc=; b=exFrKAjUZSZ6dp54QS+QhhTPYV jcF0KNBRiLMtc/UafB1x3lagXsiNxdZzeC87qnMXy1gHMYzstsX7CRnCucPH7Wu/5GEmEwaIzCsvC nFvGq19aO3VnFsVvQJA9ZnnwXloCvPaZetOLceLIsvOlaXO3UkMipECgwprpHTfcHucU=; 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 1mwcaw-0003Le-Uc; Mon, 13 Dec 2021 05:05:50 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEX2to7+yJ2tk5Wh aFv///9D4/wNAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UMDQQAIxipzOMAAAGdSURBVDjLpZNbEqQw CEWJbIB0NqCyAcLd/94GNLFj18zXYJVV5oTLU6JC51lISn0bcXGgox2UVhbQvVdDK/QmxOa+O5iG fYE6TE/I8CgPaCGluw8gX4+PGfEXRJYDiCFCW43vNf5zi6fHEMuPBrOGMEkwYzSUdkiKtboWkteb sTYTflVIjJThAuOfygMc8ar249HQW4fgGIBWUCyK6Vx+ALDfIq/+0gcOlUzAYCuIuA6y1i1DLVIB NCsvEZx/APsE9C8P9BV4M0/QyhVjBqeQOiNlMrmzmvMo8cQQ8uwufSs5s9yra7O0YVZ4Lx/xoQQ2 ZbZ5fq1KLBw2UFfITrMzNzAwB3B69qReUrFvUUqC6VEGCGNLKXvPI6JCvCuPKuYPkZp7RpTYxSrr 7sb6FIXig2jCtknzue09Mna4agxGUaHlBtW0e40nIrFq9c8AZGbpYdlOaFUbUhQ/DnbsN4AIhod4 XH+kUGP2I6vYKC9OI/gJPgbYaNujlu1Kl6NBY1CVnnZngfVu1XO62v+Ac85iafyc2/ZzHlnJX3Rq lT+6HE+kyF4AmAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0xMi0xM1QwNDowMDozNCswMDowMB5w CVIAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMTItMTNUMDQ6MDA6MzQrMDA6MDBvLbHuAAAAAElF TkSuQmCC X-Now-Playing: New Fast Automatic Daffidils's _Music is Shit_: "A Man Without Qualities: Music is Shit pt. 1" In-Reply-To: <834k7ep26q.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Dec 2021 12:06:37 +0200") 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:281823 Archived-At: Eli Zaretskii writes: > The documentation says so, yes. But I looked inside the sqlite3 > source, and I'm now confused: it seems like the Unix code path there > just uses the file name passed to the library without any checks or > changes? The Windows code does convert from UTF-8 to the wchar_t > (a.k.a. UTF-16) encoding that is native to Windows. > > So it sounds like we should use ENCODE_FILE after all? ENCODE_FILE on everything but Windows, but encode as utf-8 on Windows, it sounds like? Pretty confusing interface. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no