[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ly:wide-char->utf-8
From: |
Martial |
Subject: |
Re: ly:wide-char->utf-8 |
Date: |
Mon, 20 Nov 2006 22:26:05 +0100 |
User-agent: |
Thunderbird 1.5.0.8 (Windows/20061025) |
hi,
> To use a Unicode escape sequence, use
> #(ly:export (ly:wide-char->utf-8 #x2014))
> Stupid question: How can I use this to get a particular unicode
> character into a string (e.g. lyric)?
%==============
{ c' }
\addlyrics { \markup {"a" #(ly:export (ly:wide-char->utf-8 #x2014))"b"}}
\addlyrics { \markup {"a — b"}} %copy and past from character table
%=============
look http://www.unicode.org/charts/
and the punctuation
http://www.unicode.org/charts/symbols.html
If you save your file in utf-8, you could use your keyboard.
(For win OS.)
Open your character table, select Unicode character, and look at the
right corner the sequence key to obtain a specially character.
Example : atlt + 0191; to get : ¿
or copy and past 中 in your editor;
utf-8 support editor: notepad, Jedit (with LilypondTool),
Crimson Editor, scintilla,
most simple (but simple) notepad2 http://www.flos-freeware.ch/notepad2.html
--
Martial
Re: ly:wide-char->utf-8, Mats Bengtsson, 2006/11/21