[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix D-Bus string encoding.
From: |
Miles Bader |
Subject: |
Re: [PATCH] Fix D-Bus string encoding. |
Date: |
Thu, 10 Jun 2010 11:48:41 +0900 |
Eli Zaretskii <address@hidden> writes:
>> 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.
Isn't there some function in Emacs which "converts", but internally
checks to see if the desired output encoding is the same as Emacs'
internal encoding, and avoids the actual conversion in that case? That
would be both future-proof and efficient...
[If there isn't such a function, there should be!]
-Miles
--
Infancy, n. The period of our lives when, according to Wordsworth, 'Heaven
lies about us.' The world begins lying about us pretty soon afterward.
- Re: Bug with UTF-8 string and dbus, (continued)
- 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