From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [davidsmith@acm.org: [patch] url-hexify-string does not follow W3C spec] Date: Tue, 01 Aug 2006 11:10:46 -0400 Message-ID: References: <44CDDF7A.8060404@gnu.org> <87lkq9ivgf.fsf@acm.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1154445155 14136 80.91.229.2 (1 Aug 2006 15:12:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2006 15:12:35 +0000 (UTC) Cc: David Smith , emacs-devel@gnu.org, YAMAMOTO Mitsuharu , Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 01 17:12:26 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G7vts-0006at-3X for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2006 17:11:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7vtr-0006me-GD for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2006 11:11:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7vtV-0006eK-DZ for emacs-devel@gnu.org; Tue, 01 Aug 2006 11:10:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7vtS-0006cR-Uv for emacs-devel@gnu.org; Tue, 01 Aug 2006 11:10:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7vtS-0006cG-Oh for emacs-devel@gnu.org; Tue, 01 Aug 2006 11:10:50 -0400 Original-Received: from [209.226.175.74] (helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7vwK-0008R0-FM; Tue, 01 Aug 2006 11:13:48 -0400 Original-Received: from localhost ([70.55.146.253]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060801151046.XXES16051.tomts20-srv.bellnexxia.net@localhost>; Tue, 1 Aug 2006 11:10:46 -0400 Original-Received: by localhost (Postfix, from userid 20848) id CDEE76B1D9; Tue, 1 Aug 2006 11:10:46 -0400 (EDT) Original-To: Thien-Thi Nguyen In-Reply-To: (Thien-Thi Nguyen's message of "01 Aug 2006 10:47:07 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:57937 Archived-At: > (if (or (multibyte-string-p string) > (not unibyte-as-is-p)) > (encode-coding-string string 'utf-8 t) Encoding a unibyte string doesn't make any sense (IMHO it should signal an error, and indeed in my locally hacked Emacs it does ;-). Stefan