Re: Inputting special symbols
On 1/5/06, Werner LEMBERG [EMAIL PROTECTED] wrote: Byte Order Mark is only applicable to UTF-16. There's no such thing as an editor that puts a Byte Order Mark in UTF-8. This is not correct. UTF-8 can also start with BOM. The same is true for UTF-32. Thanks for the information. I've been using Unicode for ten years, and I never knew this. Surely enough, it's an FAQ: http://www.unicode.org/unicode/faq/utf_bom.html#25 - Kurt ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Inputting special symbols
On 1/2/06, fiëé visuëlle [EMAIL PROTECTED] wrote: Am 2006-01-02 um 12:43 schrieb liang seng: Hi, I'm using Lilypond 2.7.x series for Windows 98 and I would like to know how can we input special characters into Lilypond using standard word editors like Notepad? I would like to put the word piu forte in a text markup, but with a backslash on top of the u in piu. I tried using Alt+151 (the symbol ù) to enter that character but it was not shown in the pdf output. Is there a way to do this? This is a FAQ. You need to use an editor that is able to handle UTF-8 encoding (preferably without Byte Order Mark). Could you please clarify this point? Byte Order Mark is only applicable to UTF-16. There's no such thing as an editor that puts a Byte Order Mark in UTF-8. - Kurt ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Unicode confusion
Hi, I've been using lilypond quite happily for about a year, and recently I've been delving into multilingual issues. I'm trying to set some German language text, and I'm having a hard time entering it. I've looked at the example typography-demo.ly file, which produces beautiful output. The beginning lyrics there display as: SLATIN SMALL LETTER U WITH DIAERESIS - LATIN SMALL LETTER SHARP Ses The actual bytes in the sample score that correspond to the LATIN SMALL LETTER U WITH DIARESIS (U+00FC) are: C3 83 C2 BC. The *proper* UTF-8 encoding of U+00FC requires two bytes: C3 BC. The two-byte encoding I suggest looks correct in every Unicode viewer I've tried (e.g., gvim, yudit, Firefox). The four-byte encoding looks like line noise. The four-byte encoding is actually the UTF-8 for LATIN CAPITAL LETTER A WITH TILDEVULGAR FRACTION ONE QUARTER. Correct UTF-8 encodings of Unicode characters do *not* display properly in my lilypond scores. As near as I can figure, lilypond is expecting UTF-8 to be twice-encoded--U+00FC is encoded to C3 BC, which is then *re*-encoded to C3 83 C2 BC. Am I missing something here? Is anybody creating lilypond scores such that they can read the lyrics *both* in .ly files and in the .pdf output? If not, how in the world do you manage to input your lyrics? Thanks in advance for any advice, Kurt ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user