lilypond-user
[Top][All Lists]
Advanced

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

Re: UTF-8 characters in filenames with Lilypond 2.23


From: Henning Hraban Ramm
Subject: Re: UTF-8 characters in filenames with Lilypond 2.23
Date: Wed, 25 May 2022 19:35:46 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

Am 25.05.22 um 19:21 schrieb Jonas Hahnfeld via LilyPond user discussion:
On Sat, 2022-05-21 at 15:20 -0600, David F. wrote:
System: Intel-based macOS

I make extensive use of UTF-8 characters in the filenames of my Lilypond files. 
 This works in Lilypond up through version 2.22.  But Lilypond 2.23 cannot 
handle UTF-8 characters in filenames.

Filename: tést.ly
====
\version "2.22"

{ c' }
====

Under v2.22, this file complies without problem.  With 2.23 (including the just 
release 2.23.9) I get the following error:

Starting lilypond 2.23.9 [tést.ly]...
warning: cannot find file: `/Users/david/Projects/Lily Scratch/te??st.ly'
fatal error: failed files: "/Users/david/Projects/Lily Scratch/te??st.ly"
Exited with return code 1.

I thought that this problem had already been reported, but I can’t find any 
mention of it now.  So I’m reporting it.

David F.

Hi David,

I can indeed reproduce this on macOS, which I think is the critical
piece of information here. It would just be too boring if all operating
systems agreed on how to handle filenames with special characters... In
this case, it might also have to do with the file system because if I
do 'ls', I also get question marks (but this might also be because I'm
ssh-ing from Linux...)

MacOS uses decomposed Unicode in the file system, i.e. é is e + combining accent acute and not just one glyph. (It also decomposes accented characters, at least umlauts, if you copy from a PDF – very annoying...)

Hraban



reply via email to

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