From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Bug with UTF-8 string and dbus Date: Wed, 09 Jun 2010 17:39:13 +0200 Message-ID: <871vcgmd0e.fsf@gmx.de> References: <87typdnr08.fsf@keller.adm.naquadah.org> <87r5kgg1ee.fsf@keller.adm.naquadah.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1276097981 396 80.91.229.12 (9 Jun 2010 15:39:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 15:39:41 +0000 (UTC) Cc: Julien Danjou , Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 09 17:39:37 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OMNNQ-0004fo-AP for ged-emacs-devel@m.gmane.org; Wed, 09 Jun 2010 17:39:36 +0200 Original-Received: from localhost ([127.0.0.1]:43249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMNNP-0008Pe-O5 for ged-emacs-devel@m.gmane.org; Wed, 09 Jun 2010 11:39:35 -0400 Original-Received: from [140.186.70.92] (port=51338 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMNNA-0008Mc-OJ for emacs-devel@gnu.org; Wed, 09 Jun 2010 11:39:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMNN9-0002aw-Id for emacs-devel@gnu.org; Wed, 09 Jun 2010 11:39:20 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:37629) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OMNN9-0002ae-4D for emacs-devel@gnu.org; Wed, 09 Jun 2010 11:39:19 -0400 Original-Received: (qmail invoked by alias); 09 Jun 2010 15:39:16 -0000 Original-Received: from p4FC18D03.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [79.193.141.3] by mail.gmx.net (mp013) with SMTP; 09 Jun 2010 17:39:16 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+YaA1O0wSYqLVZwDl87z599vO5c75HvG4qJCyvvI HeirIR1uFRYxCx In-Reply-To: (Andreas Schwab's message of "Wed, 09 Jun 2010 17:01:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125676 Archived-At: Andreas Schwab writes: > Stefan Monnier writes: > >> Since the spec says "must be valid UTF-8", I think that SDATA(object) >> might even be better than encoding to utf-8 since encoding to utf-8 will >> turn eight-bit-byte chars into raw bytes which will likely not make >> a valid utf-8 output. > > Neither does emacs' internal encoding. If you have a non-utf8 string > you have lost already. The following works with Julien's patch: (notifications-notify :title "Emacs=C3=A9") So it might be worth to install it. > Andreas. Best regards, Michael.