From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Bug with UTF-8 string and dbus Date: Thu, 10 Jun 2010 10:05:33 +0200 Message-ID: References: <87typdnr08.fsf@keller.adm.naquadah.org> <87r5kgg1ee.fsf@keller.adm.naquadah.org> <19472.35590.940217.577634@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276157198 14385 80.91.229.12 (10 Jun 2010 08:06:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Jun 2010 08:06:38 +0000 (UTC) Cc: Julien Danjou , Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 10 10:06: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 1OMcma-0002Tw-Mx for ged-emacs-devel@m.gmane.org; Thu, 10 Jun 2010 10:06:37 +0200 Original-Received: from localhost ([127.0.0.1]:52293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMcmZ-0006cs-Rp for ged-emacs-devel@m.gmane.org; Thu, 10 Jun 2010 04:06:35 -0400 Original-Received: from [140.186.70.92] (port=34035 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMclj-00061w-4n for emacs-devel@gnu.org; Thu, 10 Jun 2010 04:05:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMclh-00026l-Hv for emacs-devel@gnu.org; Thu, 10 Jun 2010 04:05:42 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:59144) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMcle-00025H-Av; Thu, 10 Jun 2010 04:05:38 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id ACA341C0023D; Thu, 10 Jun 2010 10:05:34 +0200 (CEST) Original-Received: from hase.home (ppp-88-217-113-22.dynamic.mnet-online.de [88.217.113.22]) by mail.mnet-online.de (Postfix) with ESMTP id 195F21C0029A; Thu, 10 Jun 2010 10:05:34 +0200 (CEST) X-Yow: .. Once upon a time, four AMPHIBIOUS HOG CALLERS attacked a family of DEFENSELESS, SENSITIVE COIN COLLECTORS and brought DOWN their PROPERTY VALUES!! In-Reply-To: <19472.35590.940217.577634@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Thu, 10 Jun 2010 15:49:42 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:125699 Archived-At: "Stephen J. Turnbull" writes: > Maybe it's just a matter of terminology, but what about David's > leading use case of TeX (as opposed to say Omega), which treats UTF-8 > as an octet stream? If you have an octett stream then you don't have utf-8, but an unibyte string. My point is that the Emacs dbus interface should _always_ (en|de)code the strings it passes to/from the outside. The internal representation should remain internal to Emacs. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."