lilypond-user
[Top][All Lists]
Advanced

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

Re: LSR - file information [0.24759]


From: Thomas Morley
Subject: Re: LSR - file information [0.24759]
Date: Sun, 27 Nov 2016 18:45:35 +0100

2016-11-27 18:14 GMT+01:00 David Kastrup <address@hidden>:
> Thomas Morley <address@hidden> writes:
>
>> I tracked it down to a guile problem.
>>
>> I stored in a file called filename_名字.scm nothing else then:
>>
>> ;;;;;;;;;;;;;;;;;;;;;;;;;
>>
>> (newline)
>> (write (command-line))
>>
>> (newline)
>> (write (map string->symbol (command-line)))
>>
>> ;;;;;;;;;;;;;;;;;;;;;;;;;
>>
>> Navigated to the folder and did:
>>
>> guile-1.8 filename_名字.scm
>> -->
>> ("filename_�\x90\x8d字.scm")
>> (filename_名字.scm)
>>
>> No clue what guile-1.8 does here. The symbol is correct, he string weird.
>>
>> guile2 can't even find the file:
>
> The correct behavior is to interpret the command line in terms of the
> current locale.  So what is your current locale?

Do you mean:

env|grep LANG
LANG=en_US.UTF-8
GDM_LANG=en
LANGUAGE=en

env|grep LC
LC_PAPER=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_NAME=de_DE.UTF-8


>
> File names are a tricky area in itself.  I think that there is some
> normalization process involved in some systems that tries to make sure
> that something like an ä will be recognized regardless of whether it is
> written as a single character with umlaut or a combining diacritic with
> letter a.
>
> I am not sure, but I think Linux does not even try at least on its
> native file systems.  No idea how this would work with Windows.

I asked on guile-user as well
http://lists.gnu.org/archive/html/guile-user/2016-11/msg00031.html

The so far single reply suggests no solution, though.

I would have expected finding the file should work out of the box,
surely guile-1.8 finds it.
So I suspect a guile-problem, which should be solvable with some
guile-code. If not it's a guile-bug worth reporting, imho.

Btw, lilypond-2.19.52-guile2 can't find such a file named like
filename_名字.ly either.
Probably for the same reasons.

Ćheers,
  Harm



reply via email to

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