[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode Symbol for compact display of const attribute
From: |
James Cloos |
Subject: |
Re: Unicode Symbol for compact display of const attribute |
Date: |
Tue, 08 Jul 2008 13:21:23 -0400 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) |
>>>>> "Nordlöw" == Nordlöw <per.nordlow@gmail.com> writes:
Nordlöw> Does anyone know of any unicode symbol suitable for
Nordlöw> representing the const attribute (in other other IDEs
Nordlöw> such as Xcode and Anjuta typically expressed as a boxed
Nordlöw> somewhat smaller capital C)?
There is no single character in The UCS for that. Therefore it
is encoded as either the sequence of:
,----[ composition of "C⃞" ]
| U+0043 LATIN CAPITAL LETTER C [ C]
| U+20DE COMBINING ENCLOSING SQUARE [ ⃞]
`----
,----[ composition of "ᴄ⃞" ]
| U+1D04 LATIN LETTER SMALL CAPITAL C [ ᴄ]
| U+20DE COMBINING ENCLOSING SQUARE [ ⃞]
`----
Or, in a Math context you might choose one of the C characters from
the MATHEMATICAL block starting at U+1D400, combined with U+20DE.
(As a side note, in this message-mode buffer the first composition is
not combining, nor are the NBSP+Combining sequences. But the small cap
sequence is doing so. (CVS HEAD, tip as of 2008/07/07T11:30:00Z or so.)
-JimC
--
James Cloos <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6