From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Fcall_process: wrong conversion Date: Fri, 19 May 2006 13:41:59 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1148035337 19661 80.91.229.2 (19 May 2006 10:42:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 May 2006 10:42:17 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 19 12:42:14 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fh2Qv-0006wW-D9 for ged-emacs-devel@m.gmane.org; Fri, 19 May 2006 12:42:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fh2Qu-0007xA-Nr for ged-emacs-devel@m.gmane.org; Fri, 19 May 2006 06:42:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fh2Qd-0007tO-KW for emacs-devel@gnu.org; Fri, 19 May 2006 06:41:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fh2Qc-0007sH-SA for emacs-devel@gnu.org; Fri, 19 May 2006 06:41:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fh2Qc-0007s8-KL for emacs-devel@gnu.org; Fri, 19 May 2006 06:41:54 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fh2Tu-0001dk-QD for emacs-devel@gnu.org; Fri, 19 May 2006 06:45:19 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-11-237.inter.net.il [80.230.11.237]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id DKG33542 (AUTH halo1); Fri, 19 May 2006 13:41:52 +0300 (IDT) Original-To: "Herbert Euler" In-reply-to: (herberteuler@hotmail.com) 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:54784 Archived-At: > From: "Herbert Euler" > Date: Fri, 19 May 2006 10:49:33 +0800 > Cc: emacs-devel@gnu.org > > I'm sorry but how does Emacs decide whether a string > is unibyte? See multibyte-string-p. It boils down to this macro from lisp.h: /* Nonzero if STR is a multibyte string. */ #define STRING_MULTIBYTE(STR) \ (XSTRING (STR)->size_byte >= 0) In other words, this information is recorded in the string object itself.