emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Characters saved mismatch?


From: Yuri Khan
Subject: Re: Characters saved mismatch?
Date: Sun, 7 May 2017 19:41:25 +0700

On Sun, May 7, 2017 at 5:50 PM, Angelo Graziosi
<address@hidden> wrote:
>
> Il 07/05/2017 11:25, Yuri Khan ha scritto:
>>
>> On Sun, May 7, 2017 at 4:15 PM, Angelo Graziosi
>> <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]