Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Wrap unicode chars in C<>
  • Loading branch information
lucasbuchala committed Apr 4, 2015
1 parent 5c8213f commit 8e1c6ee
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions S02-bits.pod
Expand Up @@ -84,19 +84,19 @@ If a character is already used in Ps/Pe/Pi/Pf mappings, then any entry in
BidiMirroring is ignored (both forward and backward mappings). For any
given Ps character, the next Pe codepoint (in numerical order) is assumed to
be its matching character even if that is not what you might guess using
left-right symmetry. Therefore C<U+298D> () maps to C<U+298E> (), not C<U+2990> (),
and C<U+298F> () maps to C<U+2990> (), not C<U+298E> (). Neither C<U+298E> () nor
C<U+2990> () are valid bracket openers, despite having reverse mappings in the
left-right symmetry. Therefore C<U+298D> (C<⦍>) maps to C<U+298E> (C<⦎>), not C<U+2990> (C<⦐>),
and C<U+298F> (C<⦏>) maps to C<U+2990> (C<⦐>), not C<U+298E> (C<⦎>). Neither C<U+298E> (C<⦎>) nor
C<U+2990> (C<⦐>) are valid bracket openers, despite having reverse mappings in the
BidiMirroring table.

The C<U+301D> () codepoint has two closing alternatives, C<U+301E> () and
C<U+301F> (); Perl 6 only recognizes the one with lower code point number,
C<U+301E> (), as the closing brace. This policy also applies to new
The C<U+301D> (C<〝>) codepoint has two closing alternatives, C<U+301E> (C<〞>) and
C<U+301F> (C<〟>); Perl 6 only recognizes the one with lower code point number,
C<U+301E> (C<〞>), as the closing brace. This policy also applies to new
one-to-many mappings introduced in the future.

However, many-to-one mappings are fine; multiple opening characters may map
to the same closing character. For instance, C<U+2018> (), C<U+201A> (), and
C<U+201B> () may all be used as the opener for the C<U+2019> () closer.
to the same closing character. For instance, C<U+2018> (C<‘>), C<U+201A> (C<‚>), and
C<U+201B> (C<‛>) may all be used as the opener for the C<U+2019> (C<’>) closer.
Constructs that count openers and closers assume that only the given opener
is special. That is, if you open with one of the alternatives, all other
alternatives are treated as non-bracketing characters within that construct.
Expand Down

0 comments on commit 8e1c6ee

Please sign in to comment.