From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: eww doesn't decode %AA%BB%CC URL names Date: Fri, 25 Dec 2015 09:24:41 +0200 Message-ID: <83a8ozm1mu.fsf@gnu.org> References: <83r3n0llkt.fsf@gnu.org> <87vb7nsq1g.fsf@gnus.org> <83ziwzmzyp.fsf@gnu.org> <8760znslig.fsf@gnus.org> <83twn7myin.fsf@gnu.org> <87bn9fr59a.fsf@gnus.org> <87vb7npogq.fsf@gnus.org> <87k2o3pnhz.fsf@gnus.org> <83h9j7mu13.fsf@gnu.org> <87fuyrpmw9.fsf@gnus.org> <87a8ozpmcv.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1451028265 21128 80.91.229.3 (25 Dec 2015 07:24:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Dec 2015 07:24:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 25 08:24:25 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aCMje-0003yW-AD for ged-emacs-devel@m.gmane.org; Fri, 25 Dec 2015 08:24:22 +0100 Original-Received: from localhost ([::1]:34563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCMjd-0005sQ-Dg for ged-emacs-devel@m.gmane.org; Fri, 25 Dec 2015 02:24:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCMjL-0005s1-AS for emacs-devel@gnu.org; Fri, 25 Dec 2015 02:24:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCMjH-0001h5-CB for emacs-devel@gnu.org; Fri, 25 Dec 2015 02:24:03 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCMjH-0001h1-92; Fri, 25 Dec 2015 02:23:59 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3479 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aCMjG-0002vY-L6; Fri, 25 Dec 2015 02:23:59 -0500 In-reply-to: <87a8ozpmcv.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 24 Dec 2015 22:28:48 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196816 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Thu, 24 Dec 2015 22:28:48 +0100 > > Darn! If I start emacs -Q, I get > > default-file-name-coding-system > => utf-8-unix > > And that isn't on that monstrous list up there... Is that a bug in > `find-coding-systems-string'? No, it's another "issue" when dealing with coding systems. To avoid this, use (coding-system-base default-file-name-coding-system) instead of just default-file-name-coding-system, and the same with file-name-coding-system. (The "-unix" suffix controls conversion of end-of-line, which is not relevant for encoding the characters in the file name.)