Hi Jonas,
Do you have any suggestion which route I could try to find out?
Not really, other than maybe writing a small C program that dumps the
arguments as binary in hex code?
I did:
#include "stdio.h" void dump_char(char c) { printf("%02hhX(%c)", c, c);
} void dump_string(char *c) { printf("\"%s\":\n", c); while (*c)
dump_char(*c++); printf("\n\n"); } int main(int argc, char **argv) { for
(int i = 0; i < argc; i++) dump_string(argv[i]); return 0; }
If I use this instead of LilyPond in Frescobaldi, the output is:
Starte dumpargs 0.1 [Schlafmotiv.ly]...
"/home/lukas/Dokumente/dumpargs":
2F(/)68(h)6F(o)6D(m)65(e)2F(/)6C(l)75(u)6B(k)61(a)73(s)2F(/)44(D)6F(o)6B(k)75(u)6D(m)65(e)6E(n)74(t)65(e)2F(/)64(d)75(u)6D(m)70(p)61(a)72(r)67(g)73(s)
"-ddelete-intermediate-files":
2D(-)64(d)64(d)65(e)6C(l)65(e)74(t)65(e)2D(-)69(i)6E(n)74(t)65(e)72(r)6D(m)65(e)64(d)69(i)61(a)74(t)65(e)2D(-)66(f)69(i)6C(l)65(e)73(s)
"-dno-point-and-click":
2D(-)64(d)6E(n)6F(o)2D(-)70(p)6F(o)69(i)6E(n)74(t)2D(-)61(a)6E(n)64(d)2D(-)63(c)6C(l)69(i)63(c)6B(k)
"-I/home/lukas/oll-lib/":
2D(-)49(I)2F(/)68(h)6F(o)6D(m)65(e)2F(/)6C(l)75(u)6B(k)61(a)73(s)2F(/)6F(o)6C(l)6C(l)2D(-)6C(l)69(i)62(b)2F(/)
"--pdf":
2D(-)2D(-)70(p)64(d)66(f)
"/home/lukas/Dokumente/Gehörbildungsunterricht/Wagner Walküre
Schlafmotiv/Schlafmotiv.ly":
2F(/)68(h)6F(o)6D(m)65(e)2F(/)6C(l)75(u)6B(k)61(a)73(s)2F(/)44(D)6F(o)6B(k)75(u)6D(m)65(e)6E(n)74(t)65(e)2F(/)47(G)65(e)68(h)C3(�)B6(�)72(r)62(b)69(i)6C(l)64(d)75(u)6E(n)67(g)73(s)75(u)6E(n)74(t)65(e)72(r)72(r)69(i)63(c)68(h)74(t)2F(/)57(W)61(a)67(g)6E(n)65(e)72(r)20(
)57(W)61(a)6C(l)6B(k)C3(�)BC(�)72(r)65(e)20(
)53(S)63(c)68(h)6C(l)61(a)66(f)6D(m)6F(o)74(t)69(i)76(v)2F(/)53(S)63(c)68(h)6C(l)61(a)66(f)6D(m)6F(o)74(t)69(i)76(v)2E(.)6C(l)79(y)
Erfolgreich abgeschlossen in 0.0".
Looks like Unicode alright, but frankly I'm surprised that plain gcc's
char type and printf seem to be able to deal with multi-byte characters.
But this probably has to do with the fact that this was my first
#include "stdio.h" since (I think) 1998, and the world has moved on...
However, I just tested on my system
with Frescobaldi 3.1.3 and it can compile both a file with special
characters in the filename as well as in a directory with special
characters. Are you sure that all of your filesystem is UTF-8 and that
Frescobaldi is started in an UTF-8 locale?
Not at all. It's just I never knowlingly tampered with encodings since I
first installated the system (Mint), which displays German messages most
of the time. I have to do some research before I can answer your questions.
(Just to be sure: Are you sure you let Frescobaldi compile the actual
file and not Frescobaldi's temporary copy?)
Lukas