From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julien Danjou Newsgroups: gmane.emacs.devel Subject: Re: Bug with UTF-8 string and dbus Date: Wed, 09 Jun 2010 16:24:17 +0200 Message-ID: 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: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1276093772 15309 80.91.229.12 (9 Jun 2010 14:29:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 14:29:32 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 09 16:29:29 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 1OMMH5-0006Rj-2r for ged-emacs-devel@m.gmane.org; Wed, 09 Jun 2010 16:29:23 +0200 Original-Received: from localhost ([127.0.0.1]:46805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMMGz-00024Y-S7 for ged-emacs-devel@m.gmane.org; Wed, 09 Jun 2010 10:28:53 -0400 Original-Received: from [140.186.70.92] (port=37383 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMMGr-0001k0-Cc for emacs-devel@gnu.org; Wed, 09 Jun 2010 10:28:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMMFe-0004QB-61 for emacs-devel@gnu.org; Wed, 09 Jun 2010 10:27:31 -0400 Original-Received: from coquelicot-s.easter-eggs.com ([213.215.37.94]:50648) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMMCb-0003ol-EK; Wed, 09 Jun 2010 10:24:21 -0400 Original-Received: from cigue.easter-eggs.fr (cigue.easter-eggs.fr [10.0.0.33]) by rose.easter-eggs.fr (Postfix) with ESMTPS id 606C81429B; Wed, 9 Jun 2010 16:24:14 +0200 (CEST) Original-Received: from jdanjou by cigue.easter-eggs.fr with local (Exim 4.72) (envelope-from ) id 1OMMCZ-0004No-EY; Wed, 09 Jun 2010 16:24:19 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 09 Jun 2010 10:08:29 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:125672 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Jun 09 2010, Stefan Monnier wrote: > 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. I clearly not have enough inside myself to decide what's the best approach. I can provide a good patch if needed, but I'm also quite sure any of you can fix it correctly. So as long as someone push a patch I'll be happy. :-) =2D-=20 Julien Danjou // =E1=90=B0 http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkwPpBEACgkQpGK1HsL+5c0SjwCgxWroa5VFLkxl0OpcIYtMjk7T 1H4An0FEdKzP2vqD3dbvXJlz4tTahTI1 =LQpX -----END PGP SIGNATURE----- --=-=-=--