[Top][All Lists]

[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 15:56:32 +0700

On Sun, May 7, 2017 at 6:27 AM, Angelo Graziosi
<address@hidden> wrote:

>   Wrote ‘c:/msys64/tmp/foo.text’ (8 characters)
> but
>   ls -l foo.text
>   -rw-r--r-- 1 bingo bongo 10  7 mag 01.07 foo.text
> 10 bytes!

You are comparing a character count against a byte count. Well *of
course* they are going to be different. The assumption “one character
is encoded by one byte” has been false for quite a while now.

reply via email to

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