From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Characters saved mismatch? Date: Sun, 7 May 2017 19:41:25 +0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1494160918 15353 195.159.176.226 (7 May 2017 12:41:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 May 2017 12:41:58 +0000 (UTC) Cc: Emacs developers To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 07 14:41:54 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7LVa-0003uG-GS for ged-emacs-devel@m.gmane.org; Sun, 07 May 2017 14:41:54 +0200 Original-Received: from localhost ([::1]:54960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7LVf-0007Y9-VQ for ged-emacs-devel@m.gmane.org; Sun, 07 May 2017 08:42:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7LVU-0007Xp-PQ for emacs-devel@gnu.org; Sun, 07 May 2017 08:41:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7LVT-0004SL-W2 for emacs-devel@gnu.org; Sun, 07 May 2017 08:41:48 -0400 Original-Received: from mail-wr0-x229.google.com ([2a00:1450:400c:c0c::229]:34697) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7LVT-0004S6-Q9 for emacs-devel@gnu.org; Sun, 07 May 2017 08:41:47 -0400 Original-Received: by mail-wr0-x229.google.com with SMTP id l9so24972710wre.1 for ; Sun, 07 May 2017 05:41:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=LCCksxaYulOeCFGBP0xGrRLjIHBRu1J8iqitSBpyt+c=; b=k2IuCLBbAnXWBwF0Kt2q2aIF+O3K1+1sNgzSFB5sY0cAbUNVdb9G85WfBN1Z+JxrfK //qw+fht15YmKDVGtlQ230KaggmTEK8g1rhI4e1LuCEfA6PBByXDxS+vEu411/O3B6TX C17tYbRU5/UtjaIvciq1TGV26jMb/4ggScE8lcx1H8qry1jQx12m14KYd3VdhexJfxIh b3yBpw0DW5iKIWuYrZE7proExueDZYYF2b98cRWG7A6+qN/AyFny5u7fa3ZG7YgT1hFo rNGasNNkaJrVEKnzWZC7Lmm0Q99GhOatFYQovgTDn5IP7qg2PhVFdCWHzPBv6CFevHNW 0Lfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=LCCksxaYulOeCFGBP0xGrRLjIHBRu1J8iqitSBpyt+c=; b=dP4BadruRF3j7Oxh4H/JFFW8zfikKKaRqt/rZc6Mul3Wu6WX07SENYfK4VmSxGEcoK eXKX59DgNNtZt29Lss2fxCX24fTfYpPfVpnAzSEJzpcO50T5u8REnyxPmOAyLIkWZJ1G 6DKZY69l20SM1dPrWFKMU5XG9fe2HuZ0Ywt+ZUv15QrWJ1Jjsrf4+3J2KKqC5fOleoEr IGmL6mXoiSMJsAg7KSO+bA5L12GjNzIqX2kKYGJ3k4dCBSf/sDy5BFB76Zw7zxZ8qYr5 e67T1XyuZk3MqY0QMcS1ITLcZP9c6k9qcnFsKDYCTpcBjaCB/JDujFqBIA6EeCczb5ku cybA== X-Gm-Message-State: AN3rC/6E3LxA/UmhCK4eiWVWzYKdcy5GV5IZI4YuUIrkrHuwPAhM/IFb D10g99yvPBu59FG2MZqh4l1nrLJK2w== X-Received: by 10.223.160.139 with SMTP id m11mr33690882wrm.99.1494160906680; Sun, 07 May 2017 05:41:46 -0700 (PDT) Original-Received: by 10.223.163.196 with HTTP; Sun, 7 May 2017 05:41:25 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 5gguMQRRQ2wFXIvT9uEfjO80vDE X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:214666 Archived-At: On Sun, May 7, 2017 at 5:50 PM, Angelo Graziosi wrote: > > Il 07/05/2017 11:25, Yuri Khan ha scritto: >> >> On Sun, May 7, 2017 at 4:15 PM, Angelo Graziosi >> wrote: >> >>> Then, where does "Wrote =E2=80=98c:/msys64/tmp/foo.text=E2=80=99 (8 cha= racters)" came >>> from, on Windows? >> >> A line separator counts as a single character. In the utf-8-dos >> encoding, it is encoded as two bytes. > > You are just repeating what I write... So why does it surprise you that the count of characters differs from the count of bytes? >> You=E2=80=99re not going to suggest that spaces between words shouldn=E2= =80=99t count >> as characters, or are you? > > Where I wrote about spaces? You didn=E2=80=99t. But I got the impression you are suggesting line breaks= do not count as characters, and spaces are one step further in that direction.