From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 17 20:03:12 2011 Received: (at submit) by debbugs.gnu.org; 18 Apr 2011 00:03:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBbvs-0006k0-Cc for submit@debbugs.gnu.org; Sun, 17 Apr 2011 20:03:12 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBbvq-0006jp-8n for submit@debbugs.gnu.org; Sun, 17 Apr 2011 20:03:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QBbvj-0002rb-Um for submit@debbugs.gnu.org; Sun, 17 Apr 2011 20:03:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,FAKE_REPLY_C, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:44653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBbvj-0002rX-TH for submit@debbugs.gnu.org; Sun, 17 Apr 2011 20:03:03 -0400 Received: from eggs.gnu.org ([140.186.70.92]:43435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBbvi-0004hK-Ok for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2011 20:03:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QBbvh-0002r4-Ip for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2011 20:03:02 -0400 Received: from defaultvalue.org ([70.85.129.156]:57814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBbvh-0002qu-D2 for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2011 20:03:01 -0400 Received: from omen.defaultvalue.org (localhost [127.0.0.1]) by defaultvalue.org (Postfix) with ESMTP id 088CA90D35; Sun, 17 Apr 2011 19:04:30 -0500 (CDT) Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7]) by omen.defaultvalue.org (Postfix) with ESMTP id 1D6E35006C; Sun, 17 Apr 2011 19:02:59 -0500 (CDT) Received: by raven.defaultvalue.org (Postfix, from userid 1000) id 074757BAB9F; Sun, 17 Apr 2011 19:02:58 -0500 (CDT) From: Rob Browning To: bug-gnu-emacs@gnu.org Subject: Re: Can't handle utf8 encoded filenames in locale 'de_DE.utf8' Date: Sun, 17 Apr 2011 19:02:58 -0500 Message-ID: <87oc442zpp.fsf@raven.defaultvalue.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: 611396-forwarded@bugs.debian.org, Gernot Kieseritzky X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) (If possible, please preserve the 611396-forwarded address in any replies.) Gernot Kieseritzky writes: > Opening an existing file named "=C3=96=C3=84=C3=9C=C3=9F.txt" does not wo= rk, instead, > Emacs creates a new buffer with the same name (reported correctly) > which is empty. After saving the file name is corrupted displaying as > "???.txt" on the console. Nautilus reports a "wrong encoding" and > equally display three question marks instead of the "Umlauts". In > contrast, in Ubuntu 10.04 utf8 encoded file names create no problems > for Emacs. It turns out that the problem was being caused by this call from .emacs: (current-language-environment "German") which appears to make Emacs prefer latin-1. I wasn't sure if this should be considered an actual problem, or just a configuration error, so I thought I should forward it. Please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D611396 for further details. Thanks --=20 Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 21 16:57:18 2019 Received: (at 8517) by debbugs.gnu.org; 21 Aug 2019 20:57:19 +0000 Received: from localhost ([127.0.0.1]:36614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0XfD-0000tO-Nn for submit@debbugs.gnu.org; Wed, 21 Aug 2019 16:57:18 -0400 Received: from quimby.gnus.org ([80.91.231.51]:43148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0Xes-0000rq-T5 for 8517@debbugs.gnu.org; Wed, 21 Aug 2019 16:56:58 -0400 Received: from 77.16.217.167.tmi.telenormobil.no ([77.16.217.167] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i0Xel-0006Px-Sb; Wed, 21 Aug 2019 22:56:38 +0200 From: Lars Ingebrigtsen To: Rob Browning Subject: Re: bug#8517: Can't handle utf8 encoded filenames in locale 'de_DE.utf8' References: <87oc442zpp.fsf@raven.defaultvalue.org> Date: Wed, 21 Aug 2019 13:56:32 -0700 In-Reply-To: <87oc442zpp.fsf@raven.defaultvalue.org> (Rob Browning's message of "Sun, 17 Apr 2011 19:02:58 -0500") Message-ID: <874l2axmnz.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Rob Browning writes: > It turns out that the problem was being caused by this call from .emacs: > > (current-language-environment "German") > > which appears to make Emacs prefer latin-1. > > I wasn't sure if this should [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 8517 Cc: 8517@debbugs.gnu.org, 611396-forwarded@bugs.debian.org, Gernot Kieseritzky X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Rob Browning writes: > It turns out that the problem was being caused by this call from .emacs: > > (current-language-environment "German") > > which appears to make Emacs prefer latin-1. > > I wasn't sure if this should be considered an actual problem, or just a > configuration error, so I thought I should forward it. I think this is working as it's supposed t. The "German" environment is apparently defined as follows: ("German" (documentation . "This language environment is almost the same as Latin-1= ,\nbut sets the default input method to \"german-postfix\".\nAdditionally, = it selects the German tutorial.") (sample-text . "German (Deutsch Nord) Guten Tag\nGerman (Deutsch S=C3=BCd= ) Gr=C3=BC=C3=9F Gott") (unibyte-display . iso-latin-1) (input-method . "german-postfix") (nonascii-translation . iso-8859-1) (coding-priority iso-latin-1) (coding-system iso-latin-1 iso-latin-9) (charset iso-8859-1) (tutorial . "TUTORIAL.de")) So while it may be surprising in this day and age that that's what this does, I don't think the definition can be changed (because that'd break the setup of people who rely on "German" to be iso-8859-1). --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 21 16:57:36 2019 Received: (at control) by debbugs.gnu.org; 21 Aug 2019 20:57:37 +0000 Received: from localhost ([127.0.0.1]:36617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0XfT-0000u4-U1 for submit@debbugs.gnu.org; Wed, 21 Aug 2019 16:57:36 -0400 Received: from quimby.gnus.org ([80.91.231.51]:43162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0Xf0-0000sM-KW for control@debbugs.gnu.org; Wed, 21 Aug 2019 16:57:05 -0400 Received: from 77.16.217.167.tmi.telenormobil.no ([77.16.217.167] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i0Xew-0006Q6-Jt for control@debbugs.gnu.org; Wed, 21 Aug 2019 22:56:48 +0200 Date: Wed, 21 Aug 2019 13:56:44 -0700 Message-Id: <8736huxmnn.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #8517 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 8517 notabug close 8517 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 8517 notabug close 8517 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 22 10:09:46 2019 Received: (at 8517) by debbugs.gnu.org; 22 Aug 2019 14:09:46 +0000 Received: from localhost ([127.0.0.1]:38031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0nmc-0007xL-0L for submit@debbugs.gnu.org; Thu, 22 Aug 2019 10:09:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0nma-0007x9-4H for 8517@debbugs.gnu.org; Thu, 22 Aug 2019 10:09:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i0nmU-0000Uf-KX; Thu, 22 Aug 2019 10:09:38 -0400 Received: from [176.228.60.248] (port=1400 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i0nmU-0005XC-1b; Thu, 22 Aug 2019 10:09:38 -0400 Date: Thu, 22 Aug 2019 17:09:46 +0300 Message-Id: <838srlcmvp.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <874l2axmnz.fsf@mouse.gnus.org> (message from Lars Ingebrigtsen on Wed, 21 Aug 2019 13:56:32 -0700) Subject: Re: bug#8517: Can't handle utf8 encoded filenames in locale 'de_DE.utf8' References: <87oc442zpp.fsf@raven.defaultvalue.org> <874l2axmnz.fsf@mouse.gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 8517 Cc: 8517@debbugs.gnu.org, 611396-forwarded@bugs.debian.org, gernotk@gmail.com, rlb@defaultvalue.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Date: Wed, 21 Aug 2019 13:56:32 -0700 > Cc: 8517@debbugs.gnu.org, 611396-forwarded@bugs.debian.org, > Gernot Kieseritzky > > ("German" > (documentation . "This language environment is almost the same as Latin-1,\nbut sets the default input method to \"german-postfix\".\nAdditionally, it selects the German tutorial.") > (sample-text . "German (Deutsch Nord) Guten Tag\nGerman (Deutsch Süd) Grüß Gott") > (unibyte-display . iso-latin-1) > (input-method . "german-postfix") > (nonascii-translation . iso-8859-1) > (coding-priority iso-latin-1) > (coding-system iso-latin-1 iso-latin-9) > (charset iso-8859-1) > (tutorial . "TUTORIAL.de")) > > So while it may be surprising in this day and age that that's what this > does, I don't think the definition can be changed (because that'd break > the setup of people who rely on "German" to be iso-8859-1). Not sure why this is even important. By default, Emacs takes the codeset part (i.e. the encoding it prefers) from the locale. the above is only important if someone sets the language environment by hand. Am I right? From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 22 20:16:43 2019 Received: (at 8517) by debbugs.gnu.org; 23 Aug 2019 00:16:43 +0000 Received: from localhost ([127.0.0.1]:38571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0xFy-0000tD-Os for submit@debbugs.gnu.org; Thu, 22 Aug 2019 20:16:43 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0xFw-0000rQ-D5 for 8517@debbugs.gnu.org; Thu, 22 Aug 2019 20:16:40 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i0xFr-0001po-9q; Fri, 23 Aug 2019 02:16:37 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#8517: Can't handle utf8 encoded filenames in locale 'de_DE.utf8' References: <87oc442zpp.fsf@raven.defaultvalue.org> <874l2axmnz.fsf@mouse.gnus.org> <838srlcmvp.fsf@gnu.org> Date: Fri, 23 Aug 2019 02:16:34 +0200 In-Reply-To: <838srlcmvp.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 22 Aug 2019 17:09:46 +0300") Message-ID: <87ftlsbusd.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Not sure why this is even important. By default, Emacs takes the > codeset part (i.e. the encoding it prefers) from the locale. the > above is only important if someone sets the language environment [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 8517 Cc: 8517@debbugs.gnu.org, 611396-forwarded@bugs.debian.org, rlb@defaultvalue.org, gernotk@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Not sure why this is even important. By default, Emacs takes the > codeset part (i.e. the encoding it prefers) from the locale. the > above is only important if someone sets the language environment by > hand. Am I right? You are. The user had (current-language-environment "German") in ~/.emacs, and was surprised that this overrode the LANG settings. But like I tried to say, that's what that invocation does, so this works as designed. (And the user should remove that setting.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 23 04:02:54 2019 Received: (at 8517) by debbugs.gnu.org; 23 Aug 2019 08:02:54 +0000 Received: from localhost ([127.0.0.1]:39078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i14X8-0007k2-A4 for submit@debbugs.gnu.org; Fri, 23 Aug 2019 04:02:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i14X5-0007jp-Tu for 8517@debbugs.gnu.org; Fri, 23 Aug 2019 04:02:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i14Wy-0006u9-Ni; Fri, 23 Aug 2019 04:02:45 -0400 Received: from [176.228.60.248] (port=3336 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i14Wv-0000wv-5r; Fri, 23 Aug 2019 04:02:44 -0400 Date: Fri, 23 Aug 2019 11:02:51 +0300 Message-Id: <83k1b4b978.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87ftlsbusd.fsf@mouse.gnus.org> (message from Lars Ingebrigtsen on Fri, 23 Aug 2019 02:16:34 +0200) Subject: Re: bug#8517: Can't handle utf8 encoded filenames in locale 'de_DE.utf8' References: <87oc442zpp.fsf@raven.defaultvalue.org> <874l2axmnz.fsf@mouse.gnus.org> <838srlcmvp.fsf@gnu.org> <87ftlsbusd.fsf@mouse.gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 8517 Cc: 8517@debbugs.gnu.org, 611396-forwarded@bugs.debian.org, rlb@defaultvalue.org, gernotk@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: 8517@debbugs.gnu.org, 611396-forwarded@bugs.debian.org, > gernotk@gmail.com, rlb@defaultvalue.org > Date: Fri, 23 Aug 2019 02:16:34 +0200 > > The user had > > (current-language-environment "German") > > in ~/.emacs, and was surprised that this overrode the LANG settings. > But like I tried to say, that's what that invocation does, so this works > as designed. (And the user should remove that setting.) The user should either remove that setting or follow it by (prefer-coding-system 'WHATEVER) if the default preferences are not to their liking. From unknown Sat Jun 14 19:10:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 20 Sep 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator