all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Characters saved mismatch?
Date: Sun, 7 May 2017 19:41:25 +0700	[thread overview]
Message-ID: <CAP_d_8XT0yEVytP5Gj3Kf7e3yJ8Vkn7YxCY5zRizfGeU7cdsOQ@mail.gmail.com> (raw)
In-Reply-To: <e654fb7d-0308-0e3f-2639-0622aa0e4046@alice.it>

On Sun, May 7, 2017 at 5:50 PM, Angelo Graziosi
<angelo.graziosi@alice.it> wrote:
>
> Il 07/05/2017 11:25, Yuri Khan ha scritto:
>>
>> On Sun, May 7, 2017 at 4:15 PM, Angelo Graziosi
>> <angelo.graziosi@alice.it> wrote:
>>
>>> Then, where does "Wrote ‘c:/msys64/tmp/foo.text’ (8 characters)" 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’re not going to suggest that spaces between words shouldn’t count
>> as characters, or are you?
>
> Where I wrote about spaces?

You didn’t. But I got the impression you are suggesting line breaks do
not count as characters, and spaces are one step further in that
direction.



  reply	other threads:[~2017-05-07 12:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-06 23:27 Characters saved mismatch? Angelo Graziosi
2017-05-07  1:06 ` Paul Eggert
2017-05-07  2:53   ` Kaushal Modi
2017-05-07  8:06   ` Angelo Graziosi
2017-05-07  8:52     ` Stephen Berman
2017-05-07  9:02       ` Angelo Graziosi
2017-05-07  8:56 ` Yuri Khan
2017-05-07  9:15   ` Angelo Graziosi
2017-05-07  9:25     ` Yuri Khan
2017-05-07 10:50       ` Angelo Graziosi
2017-05-07 12:41         ` Yuri Khan [this message]
2017-05-07 12:46     ` Kaushal Modi
2017-05-07 13:38       ` Angelo Graziosi
2017-05-07 14:07         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP_d_8XT0yEVytP5Gj3Kf7e3yJ8Vkn7YxCY5zRizfGeU7cdsOQ@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=angelo.graziosi@alice.it \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.