From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Patrik Jonsson Newsgroups: gmane.emacs.devel Subject: Re: Extra character 194 appearing in network stream Date: Sat, 17 Feb 2007 10:53:24 -0800 Message-ID: <45D74F24.7020203@ucolick.org> References: <45D651F2.6060102@ucolick.org> <45D67B16.7010804@gnu.org> <45D6CB5A.5020402@ucolick.org> <45D6D082.1010502@ucolick.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2067939943==" X-Trace: sea.gmane.org 1171738432 18514 80.91.229.12 (17 Feb 2007 18:53:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2007 18:53:52 +0000 (UTC) Cc: emacs-devel@gnu.org, Jason Rumney To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 17 19:53:46 2007 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 1HIUgq-0007E1-5K for ged-emacs-devel@m.gmane.org; Sat, 17 Feb 2007 19:53:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HIUgp-0006SA-PY for ged-emacs-devel@m.gmane.org; Sat, 17 Feb 2007 13:53:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HIUge-0006Rz-QL for emacs-devel@gnu.org; Sat, 17 Feb 2007 13:53:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HIUgd-0006QJ-Bx for emacs-devel@gnu.org; Sat, 17 Feb 2007 13:53:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HIUgd-0006QE-84 for emacs-devel@gnu.org; Sat, 17 Feb 2007 13:53:31 -0500 Original-Received: from mail.cruzio.com ([63.249.95.37]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HIUga-0006AE-VA; Sat, 17 Feb 2007 13:53:29 -0500 Original-Received: from [192.168.1.110] (dsl2-63-249-107-95.cruzio.com [63.249.107.95]) by mail.cruzio.com with ESMTP id l1HIrL6l000440; Sat, 17 Feb 2007 10:53:22 -0800 (PST) User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: X-Enigmail-Version: 0.94.1.0 X-detected-kernel: FreeBSD 4.6-4.9 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:66488 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============2067939943== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7339A74EF7D0B6E621BCF656" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7339A74EF7D0B6E621BCF656 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Andreas Schwab wrote: > Patrik Jonsson writes: > > =20 >> (string-bytes (let ((i 200)) >> =20 > > string-bytes does _not_ give the number of characters in a string. Sin= ce > you have a multibyte string, it may contain more bytes than characters.= > You need to apply the appropriate encoding before sending it to the > network stream. > =20 I see. Under what circumstances does it do this? I have (setq default-enable-multibyte-characters nil) which I thought would turn multibyte characters off? Regards, /Patrik J. --------------enig7339A74EF7D0B6E621BCF656 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF108qT+KvsdUW5p8RAlIRAJ45vj4rb1JhVi8DneI75n/jKglxqACfUug2 nZslauUCI0AvaouQTlpLpK0= =xPKb -----END PGP SIGNATURE----- --------------enig7339A74EF7D0B6E621BCF656-- --===============2067939943== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============2067939943==--