From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Fwd: Re: Inadequate documentation of silly characters on screen. Date: Thu, 19 Nov 2009 21:21:41 +0800 Message-ID: <874ooq8xay.fsf@wanchan.jasonrumney.net> References: <20091118191258.GA2676@muc.de> <20091119082040.GA1720@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1258637353 21854 80.91.229.12 (19 Nov 2009 13:29:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2009 13:29:13 +0000 (UTC) Cc: Alan Mackenzie , Stefan Monnier , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 19 14:29:04 2009 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.50) id 1NB74I-00054T-8s for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2009 14:29:02 +0100 Original-Received: from localhost ([127.0.0.1]:37746 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NB74H-0001kT-KS for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2009 08:29:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NB6xP-0005PB-3W for emacs-devel@gnu.org; Thu, 19 Nov 2009 08:21:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NB6xJ-0005MN-W1 for emacs-devel@gnu.org; Thu, 19 Nov 2009 08:21:54 -0500 Original-Received: from [199.232.76.173] (port=39056 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NB6xJ-0005MJ-S8 for emacs-devel@gnu.org; Thu, 19 Nov 2009 08:21:49 -0500 Original-Received: from mail-gx0-f224.google.com ([209.85.217.224]:59522) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NB6xJ-0003r4-Jx for emacs-devel@gnu.org; Thu, 19 Nov 2009 08:21:49 -0500 Original-Received: by mail-gx0-f224.google.com with SMTP id 24so2329608gxk.6 for ; Thu, 19 Nov 2009 05:21:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=nwAwM5mWDLeUSqI55H+/T2NMYFkudBCHhbmVUet0QTo=; b=gsGHsX5iMKzSgLNO4lZOqM334ZbwPIodRa9iXExG8v9Gvq7FteKkSsam7S8mck4+4r bQmpb0QETggczi5F3pgnvvYMycfgIJRV9L9uwpADXY+EZmF/fLLeIb6/Rf0nphJCvwIv JjlnS5G7gQlRzqflYHr61EPXPOziCQdrNDiLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=ZIMNwwcw1+ddZCW4FDMSrHUANEhKUibqVh6hWanveMg0JP0N1DQBDdsWbLlbDy4XN1 8GP09/jH8WRojq5wzrIdvOSJ+ZdIL6LnbH8ZqE1fVqOHepiinNqFCVWC/VlTSKBBMKiO 2AsIwaP8eP3usnuUAb4IxV/5RULe70CP7M1lA= Original-Received: by 10.100.82.16 with SMTP id f16mr2029345anb.42.1258636908626; Thu, 19 Nov 2009 05:21:48 -0800 (PST) Original-Received: from wanchan.jasonrumney.net ([118.100.163.63]) by mx.google.com with ESMTPS id 35sm249249yxh.69.2009.11.19.05.21.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Nov 2009 05:21:46 -0800 (PST) Original-Received: by wanchan.jasonrumney.net (Postfix, from userid 1000) id DFCB521A3; Thu, 19 Nov 2009 21:21:41 +0800 (MYT) In-Reply-To: (Andreas Schwab's message of "Thu, 19 Nov 2009 11:16:03 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.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:117246 Archived-At: Andreas Schwab writes: > Nothing gets truncated. In Emacs 23 ?=C3=B1 is simply the number 241, > whereas in Emacs 22 is it the number 2289. You can put 2289 in a string > in Emacs 23, but there is no defined unicode character with that value. The bug here is likely that setting a character in a unibyte string to a value between 160 and 255 does not result in an automatic conversion to multibyte. That was correct in 22.3, since values in that range were raw binary bytes outside of any character set, but in 23.1 they correspond to valid Latin-1 codepoints.