lilypond-user
[Top][All Lists]
Advanced

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

Re: Problem with non-ASCII characters


From: Ari Constancio
Subject: Re: Problem with non-ASCII characters
Date: Thu, 21 Sep 2006 11:58:37 +0100

Bingo!

$ file test.ly
test.ly:  ISO-8859 English text

After setting M-x prefer-coding-system (in Emacs) to utf-8, everything was fine.
So, after all, in spite of the misleading sentences in the docs, if
the editor is correctly set for UTF-8, it works great.

Thanks again,
Ari Constancio

On 9/21/06, Mats Bengtsson <address@hidden> wrote:
I noted that text in the manual after sending the previous response, but
my comment is actually relevant for the tex backend as well, so we should
remove that misleading information from the manual.

My guess is that you didn't manage to save your file in UTF8 encoding,
but it could also be that you don't have the necessary fonts (or at least
that LilyPond/Pango doesn't know about them).

If you run the command
file test.ly
it should say something like:
test.ly: UTF-8 Unicode English text
If it doesn't mention UTF-8 then you failed to persuade Emacs to use
the correct encoding.

You could also try to download and process the example utf-8.ly
from the Regression Tests document (just make sure to remove the
line \include "lilypond-book-preamble.ly" at the top of the file first).

   /Mats




reply via email to

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