From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: [davidsmith@acm.org: [patch] url-hexify-string does not follow W3C spec] Date: Tue, 01 Aug 2006 12:55:44 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <44CDDF7A.8060404@gnu.org> <87lkq9ivgf.fsf@acm.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1154404588 22359 80.91.229.2 (1 Aug 2006 03:56:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2006 03:56:28 +0000 (UTC) Cc: David Smith , Jason Rumney , Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 01 05:56:18 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 1G7lMb-0007jO-SX for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2006 05:56:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7lMb-0002Xr-CJ for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2006 23:56:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7lMN-0002Ty-NY for emacs-devel@gnu.org; Mon, 31 Jul 2006 23:55:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7lML-0002Qs-Px for emacs-devel@gnu.org; Mon, 31 Jul 2006 23:55:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7lML-0002QR-JV for emacs-devel@gnu.org; Mon, 31 Jul 2006 23:55:57 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7lP3-00045s-Ue; Mon, 31 Jul 2006 23:58:46 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id B86642C87; Tue, 1 Aug 2006 12:55:44 +0900 (JST) Original-To: Thien-Thi Nguyen In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) 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:57905 Archived-At: >>>>> On 31 Jul 2006 16:49:19 -0400, Thien-Thi Nguyen said: > btw, i missed some of this thread so i assume "it" refers to > `url-hexify-string'. if discussion is actually about some other > function (that calls `url-hexify-string'), i have no opinion on > those matters. Let me summarize: * Rev 1.12 The argument is assumed to be a sequence of octets. Namely, either a unibyte string or a multibyte string only containing ascii, eight-bit-control, or eight-bit-graphic. A multibyte string containing characters in other charsets causes an error. * Rev 1.13 The argument is assumed to be a sequence of characters. Incompatible change for non-ASCII strings. * Rev 1.14 The argument is assumed to be either a sequence of characters or a sequence of octets depending on the multibyteness of the string. Incompatibility still remains for a multibyte string containing eight-bit-control or eight-bit-graphic, but usually negligible. I'm not sure if encoding with UTF-8 is really useful, but I don't strongly oppose it if compatibility for the unibyte case is preverved. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp