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: Unibyte characters, strings, and buffers Date: Sat, 29 Mar 2014 10:52:29 +0100 Message-ID: References: <831txozsqa.fsf@gnu.org> <83ppl7y30l.fsf@gnu.org> <87r45nouvx.fsf@uwakimon.sk.tsukuba.ac.jp> <8361myyac6.fsf@gnu.org> <87a9capqfr.fsf@uwakimon.sk.tsukuba.ac.jp> <83eh1mfd09.fsf@gnu.org> <87ob0pnyt6.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1396086769 21158 80.91.229.3 (29 Mar 2014 09:52:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2014 09:52:49 +0000 (UTC) Cc: Eli Zaretskii , monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 29 10:52:58 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WTpwd-000637-90 for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2014 10:52:55 +0100 Original-Received: from localhost ([::1]:38286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTpwc-0006BW-Oj for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2014 05:52:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTpwU-00064p-M3 for emacs-devel@gnu.org; Sat, 29 Mar 2014 05:52:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTpwP-0006TN-U2 for emacs-devel@gnu.org; Sat, 29 Mar 2014 05:52:46 -0400 Original-Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:37038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTpwK-0006LR-N3; Sat, 29 Mar 2014 05:52:36 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3fwwGB17GLz3hhZ6; Sat, 29 Mar 2014 10:52:33 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3fwwG95glmzbbrN; Sat, 29 Mar 2014 10:52:33 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id LxTt7mWiadDx; Sat, 29 Mar 2014 10:52:32 +0100 (CET) X-Auth-Info: 72ngbB6K7ep9bUlVOlGo/194IJFPaQDxS1itzz5l6FY= Original-Received: from linux.local (ppp-188-174-150-178.dynamic.mnet-online.de [188.174.150.178]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 29 Mar 2014 10:52:32 +0100 (CET) Original-Received: by linux.local (Postfix, from userid 501) id B4FE81E55BF; Sat, 29 Mar 2014 10:52:29 +0100 (CET) X-Yow: Why am I in this ROOM in DOWNTOWN PHILADELPHIA? In-Reply-To: <87ob0pnyt6.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Sat, 29 Mar 2014 18:23:17 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 2001:a60:0:28:0:1:25:1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171126 Archived-At: "Stephen J. Turnbull" writes: > No, I don't. I already told you how to do it: nuke unibyte buffers > and use iso-8859-1-unix as the binary codec. No, you use raw-text, representing each non-ascii character in the eight-bit charset (this is what string-to-multibyte does). Using latin-1 would lose information. 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."