emacs-devel
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]