Text encoding - GNU LilyPond
Description: GNU LilyPond

Previous: Including LilyPond files, Up: Input files

#### 10.1.7 Text encoding

LilyPond uses the Pango library to format multi-lingual texts, and does not perform any input-encoding conversions. This means that any text, be it title, lyric text, or musical instruction containing non-ASCII characters, must be utf-8. The easiest way to enter such text is by using a Unicode-aware editor and saving the file with utf-8 encoding. Most popular modern editors have utf-8 support, for example, vim, Emacs, jEdit, and GEdit do.

To use a Unicode escape sequence, use

    #(ly:export (ly:wide-char->utf-8 #x2014))

##### See also

`input/regression/utf-8.ly`

Previous: Including LilyPond files, Up: Input files

This page is for LilyPond-2.10.33 (stable-branch).