Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: \c[NAMED UNICODE CHARACTER]?

4 views
Skip to first unread message

Larry Wall

unread,
Jan 30, 2006, 6:41:44 PM1/30/06
to perl6-language@perl.org List
On Tue, Jan 31, 2006 at 12:15:31AM +0800, Audrey Tang wrote:
: Is it possible to have it as part of Synopsis 02? It's mentioned
: variously in A05, E05 and E07 (where it permits a \c[2026] form, but
: should be spelled \d[2026] nowadays), but is not currently part of any
: Synopses.

Now reads:

=item *

You may interpolate any Unicode codepoint by name using C<\c>
and square brackets:

"\c[NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE]"

Multiple codepoints constituting a single character may be
interpolated with a single C<\c> by separating the names with
comma:

"\c[LATIN CAPITAL LETTER A, COMBINING RING ABOVE]"

Whether that is regarded as one character or two depends on the
Unicode support level of the current lexical scope. It is also
possible to interpolate multiple codepoints that do not resolve
to a single character:

"\c[LATIN CAPITAL LETTER A, LATIN CAPITAL LETTER B]"

[Note: none of the official Unicode character names contains comma.]

Larry

0 new messages