From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fix D-Bus string encoding. Date: Wed, 09 Jun 2010 20:20:10 -0400 Message-ID: References: <87typdnr08.fsf@keller.adm.naquadah.org> <1276074981-8930-1-git-send-email-julien@danjou.info> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276129224 6437 80.91.229.12 (10 Jun 2010 00:20:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Jun 2010 00:20:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Julien Danjou Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 10 02:20:23 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 1OMVVO-0000l4-NM for ged-emacs-devel@m.gmane.org; Thu, 10 Jun 2010 02:20:23 +0200 Original-Received: from localhost ([127.0.0.1]:52494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMVVN-0007Si-Vh for ged-emacs-devel@m.gmane.org; Wed, 09 Jun 2010 20:20:22 -0400 Original-Received: from [140.186.70.92] (port=59386 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMVVF-0007Rd-Kg for emacs-devel@gnu.org; Wed, 09 Jun 2010 20:20:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMVVE-00033Y-8B for emacs-devel@gnu.org; Wed, 09 Jun 2010 20:20:13 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:23076 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMVVE-00033Q-55 for emacs-devel@gnu.org; Wed, 09 Jun 2010 20:20:12 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAA3ND0xLd/Rv/2dsb2JhbACeW3K/MoUYBIxw X-IronPort-AV: E=Sophos;i="4.53,395,1272859200"; d="scan'208";a="67721199" Original-Received: from 75-119-244-111.dsl.teksavvy.com (HELO pastel.home) ([75.119.244.111]) by ironport2-out.pppoe.ca with ESMTP; 09 Jun 2010 20:20:11 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id F042881B5; Wed, 9 Jun 2010 20:20:10 -0400 (EDT) In-Reply-To: <1276074981-8930-1-git-send-email-julien@danjou.info> (Julien Danjou's message of "Wed, 9 Jun 2010 11:16:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) 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:125690 Archived-At: > + * 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), and added checks. Stefan