Re: Encoding Issue for .ly Files on CPDL
Hans Åberg <[email protected]>
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <[email protected]> |
> On 2 Jun 2026, at 18:26, Silvain Dupertuis <[email protected]> wrote: > > Le 02.06.26 à 18:05, Hans Åberg a écrit : >> It depends on the browser. With Safari on Mac, both display correctly, which in addition has a menu to set the text encoding, but “Default” works fine. Firefox shows the first incorrectly, possibly because it does not interpret .ly files as plain text. In general, it is bad to add BOMs to UTF-8 files, as it has no meaning, and software is in general unaware of it. Another workaround might be to post .txt files instead. >> > Firefox displays the file correctly with a txt extension or a double ly.txt extension > Same result with Vivaldi Indeed, a workaround might be to post .ly.txt files. I think the practice may be in use with other types of files.