From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#6974: Emacs doesn't like Swedish =?utf-8?b?w6Q=?= (on w32) Date: Fri, 3 Sep 2010 13:59:59 +0200 Message-ID: References: <83vd6ni70e.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283515803 25983 80.91.229.12 (3 Sep 2010 12:10:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Sep 2010 12:10:03 +0000 (UTC) Cc: 6974@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 03 14:10:01 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OrV5k-0006cV-Uz for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Sep 2010 14:10:01 +0200 Original-Received: from localhost ([127.0.0.1]:49632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrV5i-0001BO-K1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Sep 2010 08:09:58 -0400 Original-Received: from [140.186.70.92] (port=38972 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrV5d-0001A8-H7 for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2010 08:09:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrV5c-0000Zh-52 for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2010 08:09:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51074) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrV5c-0000Zc-3B for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2010 08:09:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OrUv8-0005o9-7t; Fri, 03 Sep 2010 07:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Sep 2010 11:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6974 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6974-submit@debbugs.gnu.org id=B6974.128351513122319 (code B ref 6974); Fri, 03 Sep 2010 11:59:02 +0000 Original-Received: (at 6974) by debbugs.gnu.org; 3 Sep 2010 11:58:51 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrUuw-0005nv-Pm for submit@debbugs.gnu.org; Fri, 03 Sep 2010 07:58:51 -0400 Original-Received: from mail-qy0-f172.google.com ([209.85.216.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrUug-0005nq-15 for 6974@debbugs.gnu.org; Fri, 03 Sep 2010 07:58:49 -0400 Original-Received: by qyk1 with SMTP id 1so3118058qyk.3 for <6974@debbugs.gnu.org>; Fri, 03 Sep 2010 05:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=yXaS8kOIbJjngQX4tcjUdg7wPBX8skmpCyP+cQYBZa0=; b=moP+5WbUnCgnq5X9GwSCrIeag5KQczFHSuHPRTwa054C5Zq8b3HuZ2KOcg5nZqTDHu aOJX95NILyrLpT0sfuzdhU+1/4FITpXQKTZMDIEFRrknEniauMINpq29biKnWfXu+02E PJSsEwzVy3/qPyg9jgawb2dyUsaU3/6w27cmQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=g2sYpGRYfbLPQPUMyZmGWNy6KkSeTtTE/JSjjYbkiUN651Jv8IJMY46YL/m8XJCS9D jWgl7haEBeEuCaRL22UrnaflYlhUTGnnSXQHW0xbiI4GikGB61NkZsvZdYJTxAdJ9oMz oMtUCV4O8XlnG3loIk1aZyX8UNQPVy+JqA8X4= Original-Received: by 10.224.74.145 with SMTP id u17mr521678qaj.336.1283515219362; Fri, 03 Sep 2010 05:00:19 -0700 (PDT) Original-Received: by 10.229.20.139 with HTTP; Fri, 3 Sep 2010 04:59:59 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 03 Sep 2010 07:59:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39925 Archived-At: On Fri, Sep 3, 2010 at 1:19 PM, Lennart Borgman wrote: > On Fri, Sep 3, 2010 at 10:08 AM, Eli Zaretskii wrote: >>> From: Lennart Borgman >>> Date: Thu, 2 Sep 2010 23:58:04 +0200 >>> Cc: >>> >>> * After M-x set-language-environment RET utf-8 RET and then opening a >>> new org file. >>> >>> When choosing the file the char "=C3=A4" is shown as \344. It looks the >>> same when inserted in the buffer as an org link to the file. >> >> set-language-environment changes the defaults for various >> coding-systems, including file-name-coding-system that's used for >> decoding file names. =C2=A0On Windows, you should _never_ have >> file-name-coding-system different from the current codepage, because >> that's the only encoding of file names Emacs can currently support on >> Windows. =C2=A0(The other one is UTF-16, which is how Windows encodes fi= le >> names on the disk, but Emacs does not yet support that, because such >> support would need to switch all the file APIs to use wide >> characters.) > > Using "M-x set-language-environment" was just a way to try to > reproduce the problem. I do not know how to do that otherwise. (I know > very little about coding systems.) > >> So the question is: what is your value of file-name-coding-system, >> after you invoke set-language-environment? > > It is nil both before and after "M-x set-language-environment". > > But something clearly has changed, see what I wrote initially. It is default-file-name-coding-system that has changed. I found that my problem was caused by a left over current-language-environment (set to UTF-8) in my custom file. Thanks for the help. Sorry for the noise.