lilypond-devel
[Top][All Lists]
Advanced

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

Re: Reading files as byte array


From: Jonas Hahnfeld
Subject: Re: Reading files as byte array
Date: Mon, 06 Sep 2021 07:35:13 +0200
User-agent: Evolution 3.40.4

Am Sonntag, dem 05.09.2021 um 23:22 +0200 schrieb Valentin Petzel:
> Hello Jonas. Ly:gulp-file handles Unicode, so probably no. But even though it 
> would be possible to work around this (for example by parsing each char and 
> counting the bits) this does seem like a very messy solution for me, as it 
> goes bit stream (file) → string → bit stream, with a completely unnescessary 
> (and potentially risky) conversion in between.

No, ly:gulp-file should not perform any conversion, it should just read
the file and create a latin1 string IIRC. ly:gulp-file-utf8 does what
its name implies.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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