[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix D-Bus string encoding.
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] Fix D-Bus string encoding. |
Date: |
Wed, 09 Jun 2010 21:56:24 -0400 |
> From: Stefan Monnier <address@hidden>
> Date: Wed, 09 Jun 2010 20:20:10 -0400
> Cc: address@hidden
>
> > + * dbusbind.c (xd_append_arg): Fix string encoding: it has to be
> > + valid UTF-8.
>
> Thanks, I installed a slightly different fix which just uses the
> string's bytes (internally stored in utf-8 already)
I agree with Andreas here: we should not output unencoded internal
representation of characters. If nothing else, it will be a
maintenance burden if and when we decide to change something in the
internal representation, or if dbus will ever accept binary data.
I don't really understand why you insist on doing this over
objections, even though functionally both approaches are currently
equivalent.
- Re: Bug with UTF-8 string and dbus, (continued)
- Re: Bug with UTF-8 string and dbus, Andreas Schwab, 2010/06/09
- Re: Bug with UTF-8 string and dbus, Michael Albinus, 2010/06/09
- Re: Bug with UTF-8 string and dbus, Stefan Monnier, 2010/06/09
- Re: Bug with UTF-8 string and dbus, Davis Herring, 2010/06/09
- Re: Bug with UTF-8 string and dbus, Andreas Schwab, 2010/06/09
- Re: Bug with UTF-8 string and dbus, David Kastrup, 2010/06/09
- Re: Bug with UTF-8 string and dbus, Andreas Schwab, 2010/06/09
- Message not available
- Re: Bug with UTF-8 string and dbus, Andreas Schwab, 2010/06/10
[PATCH] Fix D-Bus string encoding., Julien Danjou, 2010/06/09