It looks as if your editor adds some extra characters in the file. Make sure that it doesn't try to use some kind of Unicode or other multibyte character coding. I just tried version 2.3.13 here using Emacs as the editor using iso-8859-1 character coding and I get the correct output.
If you tell what operating system and editor you use, you might get help from others on the mailing list that use the same.
/Mats
Will Oram wrote:
I'm using 2.3.13 at the moment. I even changed text editors to make sure I was in Latin1 (which I may very well not have been in).
Now "2 Fl�ten" shows up as "2 Fl��ten".
On Sep 8, 2004, at 6.11 AM, Mats Bengtsson wrote:
Will OramI just tried \set Staff.instrument = \markup { "2 Fl�ten" } on version 2.2.x and it works excellently.
What version did you try? Also, if you are on Windows or Mac, make sure that your text editor uses Latin1 encoding when saving the file.
If you want to use TeX commands instead, you can use more or less anything that works in TeX/LaTeX, as long as you remember to replace each single backslash with a double backslash (as least as long as you use version 2.2.x or earlier), so Fl\\"oten should work well.
If you run version 2.3.x, then the answer will be different.
/Mats
Quoting Will Oram <[EMAIL PROTECTED]>:
This is one of my dumber questions. How do I get an umlaut in an instrument name:
\set Staff.instrument = \markup { "2 Fl�ten" }
Naturally lily doesn't like it if I type the umlaut straight. I've tried various other things found around the site and the Web, and none work. \''o, \"o, \"{o} (the LaTeX method), and \\\"o (which I think worked on something I did once a year ago). In most cases the output is just the string minus the backslash.
I would suggest a small mention of foreign characters in the manual, unless I missed an already present one.
Best,
Will Oram spamguy ^^AT^^ foxchange.com // william.oram ^^AT^^ cwru.edu // AIM spamguy21
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
spamguy ^^AT^^ foxchange.com // william.oram ^^AT^^ cwru.edu // AIM spamguy21
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
