Comments

qemu-ga in Windows may return error message with multibyte characters
when the guest OS language is set to other than English. To display such
messages correctly, this encodes the message based on the locale settings.
Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
---
QMP/qmp.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

On Fri, May 24, 2013 at 06:55:21PM +0000, Tomoki Sekiyama wrote:
> On 5/23/13 8:30 , "Stefan Hajnoczi" <stefanha@gmail.com> 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