emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug with UTF-8 string and dbus


From: Stefan Monnier
Subject: Re: Bug with UTF-8 string and dbus
Date: Tue, 08 Jun 2010 20:43:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> 492             char *val = SDATA (Fstring_make_unibyte (object));

Fstring_make_unibyte is wrong here.
Most likely, if the D-Bus specification mandates UTF-8, the better thing
to do would be either to encode using utf-8, or to take advantage of the
fact that Emacs already uses utf-8 internally and pass just SDATA (object).


        Stefan



reply via email to

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