bug-lilypond
[Top][All Lists]
Advanced

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

Re: Bug report: U+3000 IDEOGRAPHIC SPACE isn't treated as whitespace


From: David Kastrup
Subject: Re: Bug report: U+3000 IDEOGRAPHIC SPACE isn't treated as whitespace
Date: Wed, 14 Feb 2018 22:26:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Marnen Laibow-Koser <address@hidden> writes:

> Hi folks!
>
> Attached are two small files that demonstrate what I think is a bug in
> Lilypond's lexing/parsing of lyrics (2.19.69 on Mac OS X 10.13).
> Basically, when entering data in \lyricmode, U+0020 SPACE correctly breaks
> syllables, but U+3000 IDEOGRAPHIC SPACE (which is the default space on
> Japanese keyboard layouts) does not: the syllables separated with that
> character all wind up on one note.  Shouldn't we break syllables on *any*
> Unicode whitespace character (except for the nonbreaking spaces, which I
> believe have different Unicode character properties)?

\lyricmode does not mean "Paste arbitrary text here".

LilyPond intentionally uses exclusively the ASCII character range for
syntactic purposes.  Everything else can be part of identifiers or
words.  That makes LilyPond documents robust against changes in Unicode.

-- 
David Kastrup



reply via email to

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