From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: [davidsmith@acm.org: [patch] url-hexify-string does not follow W3C spec] Date: Tue, 01 Aug 2006 09:42:39 +0100 Message-ID: <44CF13FF.6030602@gnu.org> References: <44CDDF7A.8060404@gnu.org> <87lkq9ivgf.fsf@acm.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1986969359==" X-Trace: sea.gmane.org 1154421818 30889 80.91.229.2 (1 Aug 2006 08:43:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2006 08:43:38 +0000 (UTC) Cc: YAMAMOTO Mitsuharu , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 01 10:43:36 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 1G7pqX-0007Wj-Lm for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2006 10:43:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7pqX-0006GU-1s for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2006 04:43:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7pqH-0006GO-U8 for emacs-devel@gnu.org; Tue, 01 Aug 2006 04:43:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7pqE-0006E1-7p for emacs-devel@gnu.org; Tue, 01 Aug 2006 04:43:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7pqE-0006Do-1Y for emacs-devel@gnu.org; Tue, 01 Aug 2006 04:43:06 -0400 Original-Received: from [213.86.207.50] (helo=exchange.integrasp.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7pt4-0006b4-MF for emacs-devel@gnu.org; Tue, 01 Aug 2006 04:46:02 -0400 Original-Received: from [192.168.111.61] (localhost [127.0.0.1]) by exchange.integrasp.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id NMA8FBZG; Tue, 1 Aug 2006 09:34:23 +0100 Original-Received: from 192.168.111.61 ([192.168.111.61] helo=[192.168.111.61]) by ASSP-nospam; 1 Aug 2006 09:34:23 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666 Original-To: Stefan Monnier In-Reply-To: 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:57928 Archived-At: This is a multi-part message in MIME format. --===============1986969359== Content-Type: multipart/alternative; boundary="------------020104060305090705040003" This is a multi-part message in MIME format. --------------020104060305090705040003 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Stefan Monnier wrote: >> (encode-coding-string "\x80" 'utf-8) >> => "\302\200" >> > > Duh! Looks like a serious bug to me. > Handa-san, what's up with that? > Why is it a serious bug? Are you expecting invalid utf-8 to be output from that function? --------------020104060305090705040003 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Stefan Monnier wrote:
(encode-coding-string "\x80" 'utf-8)
=> "\302\200"
    

Duh!  Looks like a serious bug to me.
Handa-san, what's up with that?
  

Why is it a serious bug? Are you expecting invalid utf-8 to be output from that function?

--------------020104060305090705040003-- --===============1986969359== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============1986969359==--