From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63874 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.gnus.general Subject: Re: `.newsrc.eld' saves chinese group name in wrong coding Date: Tue, 24 Oct 2006 06:17:58 +0200 Message-ID: References: <87mz7tm2wn.fsf@furball.mit.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1161663528 10974 80.91.229.2 (24 Oct 2006 04:18:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2006 04:18:48 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, yamaoka@jpl.org, id.brep@gmail.com, ding@gnus.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Tue Oct 24 06:18:43 2006 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GcDkO-0007SG-5q for gebp-emacs-pretest-bug@gmane.org; Tue, 24 Oct 2006 06:18:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcDkN-0003Sf-DM for gebp-emacs-pretest-bug@gmane.org; Tue, 24 Oct 2006 00:18:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GcDkI-0003SI-S5 for emacs-pretest-bug@gnu.org; Tue, 24 Oct 2006 00:18:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GcDkH-0003S5-H5 for emacs-pretest-bug@gnu.org; Tue, 24 Oct 2006 00:18:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcDkH-0003S2-E2 for emacs-pretest-bug@gnu.org; Tue, 24 Oct 2006 00:18:33 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GcDkH-0000Hn-7H for emacs-pretest-bug@gnu.org; Tue, 24 Oct 2006 00:18:33 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-142-7.inter.net.il [80.230.142.7]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EZN62921 (AUTH halo1); Tue, 24 Oct 2006 06:17:57 +0200 (IST) Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Mon, 23 Oct 2006 16:49:59 -0400) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:14758 gmane.emacs.gnus.general:63874 Archived-At: > Cc: yamaoka@jpl.org, emacs-pretest-bug@gnu.org, id.brep@gmail.com, > ding@gnus.org > From: Stefan Monnier > Date: Mon, 23 Oct 2006 16:49:59 -0400 > > >> My point was simply if you stay 100% within multibyte, it all works, and if > >> you stay 100% in unibyte it all works > > > The former is true, the latter isn't, AFAIK. ``Normal'' Emacs > > primitives and subroutines always do TRT with multibyte strings, while > > with unibyte you need to be careful which ones you call. > > Care to give an example of what you're thinking about, where purely unibyte > strings and buffers are not properly handled? Are you talking about a unibyte Emacs session? If so, that's not what I had in mind. I'm talking about using unibyte strings in a multibyte session.