From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgwCR-0000eJ-4q for qemu-devel@nongnu.org; Mon, 27 May 2013 08:06:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgwCJ-0006hw-EG for qemu-devel@nongnu.org; Mon, 27 May 2013 08:06:51 -0400 Received: from mail-ea0-x235.google.com ([2a00:1450:4013:c01::235]:35302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgwCJ-0006hO-3B for qemu-devel@nongnu.org; Mon, 27 May 2013 08:06:43 -0400 Received: by mail-ea0-f181.google.com with SMTP id a11so3883825eae.40 for ; Mon, 27 May 2013 05:06:42 -0700 (PDT) Date: Mon, 27 May 2013 14:06:39 +0200 From: Stefan Hajnoczi Message-ID: <20130527120639.GC23204@stefanha-thinkpad.redhat.com> References: <20130523123008.GM9093@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [RFC PATCH v3 11/11] QMP/qmp.py: set locale for exceptions to display non-ascii messages correctly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tomoki Sekiyama Cc: "mdroth@linux.vnet.ibm.com" , "qemu-devel@nongnu.org" , "lcapitulino@redhat.com" , "vrozenfe@redhat.com" , "pbonzini@redhat.com" , Seiji Aguchi , "areis@redhat.com" On Fri, May 24, 2013 at 06:55:21PM +0000, Tomoki Sekiyama wrote: > On 5/23/13 8:30 , "Stefan Hajnoczi" wrote: > >Either or both bugs could be present. Once they are fixed you shouldn't > >see encoding problems. > > > >Stefan > > Anyway, as I understood this patch for qmp.py is not correct way to fix > this issue, I'm going to drop it from the series. Interesting, thanks for showing that that QEMU and qmp.py are behaving correctly. For reference, the Python unicode exception bug is here and doesn't seem to be fixable in Python 2.x: http://bugs.python.org/issue2517 Stefan