My unicode keeper

Hi All,

My unicode keeper.  It is a work in progress.  Pelase
comment, if you be of a mind to.

Do we use `U2248 =E2=89=88` at all?  Maybe I just use that on in writing,=
=20
instead of ~

-T


Perl6: Unicode characters:

References:
     https://en.wikipedia.org/wiki/Quotation_mark#Curved_quotes_and_Unico=
de
     https://docs.raku.org/language/quoting
=20
https://en.wikipedia.org/wiki/Mathematical_operators_and_symbols_in_Unico=
de#Mathematical_Operators_block

Unicode charaters are covienient to use to avoid having
to escape things.


 From a standard keyboard, Ctrl+Shift+unicode

    Some useful unicode characters:

        UFF62 =EF=BD=A2    Ctrl+Shift+u f f 6 2
        UFF62 =EF=BD=A3    Ctrl+Shift+u f f 6 3
        U201D =E2=80=9E    Ctrl+Shift+u 2 0 1 D
        U00AB =C2=AB    Ctrl+Shift+u 0 0 A B
        U00BB =C2=BB 	  Ctrl+Shift+u 0 0 B B
        U2260 =E2=89=A0    Ctrl+Shift+u 2 2 6 0
        U2248 =E2=89=88    Ctrl+Shift+u 2 2 4 8

Some uses:

    For use as a litter quote in a regex (Q[] does not work inside regex'=
s)

       say so Q[A:\] ~~ / =EF=BD=A2:\=EF=BD=A3 /;
       True

       say so Q[A:\] ~~ / =EF=BD=A2:/=EF=BD=A3 /;
       False

    For accessing keys inside a hash with a variable:

      my %h=3D a=3D>"A", b=3D>"B";
      my $i=3D "b";
      say %h<$i>;
      (Any)
      say %h<<$i>>;
      B
      say %h=C2=AB$i=C2=BB;
      B
      say %h{$i};
      B

   Math:
      say so 5 =E2=89=A0 6
      True

      say so 5 =E2=89=A0 5
      False
0
perl6
12/10/2019 9:50:23 PM
perl.perl6.users 1384 articles. 0 followers. Follow

4 Replies
58 Views

Similar Articles

[PageSpeed] 55

--00000000000078344905996092b5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

>
> For use as a litter quote in a regex (Q[] does not work inside regex's)
>
>        say so Q[A:\] ~~ / =EF=BD=A2:\=EF=BD=A3 /;
>        True
>
literal, not litter.

On Tue, Dec 10, 2019 at 11:54 PM ToddAndMargo via perl6-users <
perl6-users@perl.org> wrote:

> Hi All,
>
> My unicode keeper.  It is a work in progress.  Pelase
> comment, if you be of a mind to.
>
> Do we use `U2248 =E2=89=88` at all?  Maybe I just use that on in writing,
> instead of ~
>
> -T
>
>
> Perl6: Unicode characters:
>
> References:
>
> https://en.wikipedia.org/wiki/Quotation_mark#Curved_quotes_and_Unicode
>      https://docs.raku.org/language/quoting
>
>
> https://en.wikipedia.org/wiki/Mathematical_operators_and_symbols_in_Unico=
de#Mathematical_Operators_block
>
> Unicode charaters are covienient to use to avoid having
> to escape things.
>
>
>  From a standard keyboard, Ctrl+Shift+unicode
>
>     Some useful unicode characters:
>
>         UFF62 =EF=BD=A2    Ctrl+Shift+u f f 6 2
>         UFF62 =EF=BD=A3    Ctrl+Shift+u f f 6 3
>         U201D =E2=80=9E    Ctrl+Shift+u 2 0 1 D
>         U00AB =C2=AB    Ctrl+Shift+u 0 0 A B
>         U00BB =C2=BB           Ctrl+Shift+u 0 0 B B
>         U2260 =E2=89=A0    Ctrl+Shift+u 2 2 6 0
>         U2248 =E2=89=88    Ctrl+Shift+u 2 2 4 8
>
> Some uses:
>
>     For use as a litter quote in a regex (Q[] does not work inside regex'=
s)
>
>        say so Q[A:\] ~~ / =EF=BD=A2:\=EF=BD=A3 /;
>        True
>
>        say so Q[A:\] ~~ / =EF=BD=A2:/=EF=BD=A3 /;
>        False
>
>     For accessing keys inside a hash with a variable:
>
>       my %h=3D a=3D>"A", b=3D>"B";
>       my $i=3D "b";
>       say %h<$i>;
>       (Any)
>       say %h<<$i>>;
>       B
>       say %h=C2=AB$i=C2=BB;
>       B
>       say %h{$i};
>       B
>
>    Math:
>       say so 5 =E2=89=A0 6
>       True
>
>       say so 5 =E2=89=A0 5
>       False
>

--00000000000078344905996092b5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div> Fo=
r use as a litter quote in a regex (Q[] does not work inside regex&#39;s)<b=
r>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0say so Q[A:\] ~~ / =EF=BD=A2:\=EF=BD=A3 /;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0True</div></blockquote><div>literal, not litter.=
</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_=
attr">On Tue, Dec 10, 2019 at 11:54 PM ToddAndMargo via perl6-users &lt;<a =
href=3D"mailto:perl6-users@perl.org">perl6-users@perl.org</a>&gt; wrote:<br=
></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi All,<br>
<br>
My unicode keeper.=C2=A0 It is a work in progress.=C2=A0 Pelase<br>
comment, if you be of a mind to.<br>
<br>
Do we use `U2248 =E2=89=88` at all?=C2=A0 Maybe I just use that on in writi=
ng, <br>
instead of ~<br>
<br>
-T<br>
<br>
<br>
Perl6: Unicode characters:<br>
<br>
References:<br>
=C2=A0 =C2=A0 =C2=A0<a href=3D"https://en.wikipedia.org/wiki/Quotation_mark=
#Curved_quotes_and_Unicode" rel=3D"noreferrer" target=3D"_blank">https://en=
..wikipedia.org/wiki/Quotation_mark#Curved_quotes_and_Unicode</a><br>
=C2=A0 =C2=A0 =C2=A0<a href=3D"https://docs.raku.org/language/quoting" rel=
=3D"noreferrer" target=3D"_blank">https://docs.raku.org/language/quoting</a=
><br>
<br>
<a href=3D"https://en.wikipedia.org/wiki/Mathematical_operators_and_symbols=
_in_Unicode#Mathematical_Operators_block" rel=3D"noreferrer" target=3D"_bla=
nk">https://en.wikipedia.org/wiki/Mathematical_operators_and_symbols_in_Uni=
code#Mathematical_Operators_block</a><br>
<br>
Unicode charaters are covienient to use to avoid having<br>
to escape things.<br>
<br>
<br>
=C2=A0From a standard keyboard, Ctrl+Shift+unicode<br>
<br>
=C2=A0 =C2=A0 Some useful unicode characters:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 UFF62 =EF=BD=A2=C2=A0 =C2=A0 Ctrl+Shift+u f f 6=
 2<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 UFF62 =EF=BD=A3=C2=A0 =C2=A0 Ctrl+Shift+u f f 6=
 3<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 U201D =E2=80=9E=C2=A0 =C2=A0 Ctrl+Shift+u 2 0 1=
 D<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 U00AB =C2=AB=C2=A0 =C2=A0 Ctrl+Shift+u 0 0 A B<=
br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 U00BB =C2=BB=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0Ctrl+Shift+u 0 0 B B<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 U2260 =E2=89=A0=C2=A0 =C2=A0 Ctrl+Shift+u 2 2 6=
 0<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 U2248 =E2=89=88=C2=A0 =C2=A0 Ctrl+Shift+u 2 2 4=
 8<br>
<br>
Some uses:<br>
<br>
=C2=A0 =C2=A0 For use as a litter quote in a regex (Q[] does not work insid=
e regex&#39;s)<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0say so Q[A:\] ~~ / =EF=BD=A2:\=EF=BD=A3 /;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0True<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0say so Q[A:\] ~~ / =EF=BD=A2:/=EF=BD=A3 /;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0False<br>
<br>
=C2=A0 =C2=A0 For accessing keys inside a hash with a variable:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 my %h=3D a=3D&gt;&quot;A&quot;, b=3D&gt;&quot;B&quot;;=
<br>
=C2=A0 =C2=A0 =C2=A0 my $i=3D &quot;b&quot;;<br>
=C2=A0 =C2=A0 =C2=A0 say %h&lt;$i&gt;;<br>
=C2=A0 =C2=A0 =C2=A0 (Any)<br>
=C2=A0 =C2=A0 =C2=A0 say %h&lt;&lt;$i&gt;&gt;;<br>
=C2=A0 =C2=A0 =C2=A0 B<br>
=C2=A0 =C2=A0 =C2=A0 say %h=C2=AB$i=C2=BB;<br>
=C2=A0 =C2=A0 =C2=A0 B<br>
=C2=A0 =C2=A0 =C2=A0 say %h{$i};<br>
=C2=A0 =C2=A0 =C2=A0 B<br>
<br>
=C2=A0 =C2=A0Math:<br>
=C2=A0 =C2=A0 =C2=A0 say so 5 =E2=89=A0 6<br>
=C2=A0 =C2=A0 =C2=A0 True<br>
<br>
=C2=A0 =C2=A0 =C2=A0 say so 5 =E2=89=A0 5<br>
=C2=A0 =C2=A0 =C2=A0 False<br>
</blockquote></div>

--00000000000078344905996092b5--
0
rabbiveesh
12/10/2019 9:55:25 PM
On 2019-12-10 13:55, Veesh Goldman wrote:
> literal, not litter.

Hi Veesh,

Chuckle.  Thank you!

So, how many kittens did the typo produce?

:-)

-T
0
perl6
12/11/2019 1:11:05 AM
On 2019-12-10 13:50, ToddAndMargo via perl6-users wrote:
> Hi All,
>=20
> My unicode keeper.=C2=A0 It is a work in progress.=C2=A0 Pelase
> comment, if you be of a mind to.
>=20
> Do we use `U2248 =E2=89=88` at all?=C2=A0 Maybe I just use that on in w=
riting,=20
> instead of ~
>=20
> -T

Today's revised revision with new additions and ammendments.
Ad no kittens.



Perl6: Unicode characters:

References:
     https://en.wikipedia.org/wiki/Quotation_mark#Curved_quotes_and_Unico=
de
     https://docs.raku.org/language/quoting
=20
https://en.wikipedia.org/wiki/Mathematical_operators_and_symbols_in_Unico=
de#Mathematical_Operators_block
=20
https://www.techsupportalert.com/content/how-easily-insert-special-symbol=
s-and-characters-windows-part-ii.htm


Unicode characters are convenient to use to avoid having
to escape things.



To enable Unicode keyboard input in Windows, install the following
registry key and reboot:

     REGEDIT4
     [HKEY_CURRENT_USER\Control Panel\Input Method]
     "EnableHexNumpad"=3D"1"


 From a standard keyboard:

    Some useful Unicode characters:

    Notes:
        Windows: you must use the `+` from the keypad, not the regular=20
keyboard
        Linux:   does not work in xterm's or terminals without special=20
modifications

        UFF62  =EF=BD=A2    Linux: <Ctrl><Shift>uff62    Windows: <alt><+=
>ff62
        UFF62  =EF=BD=A3    Linux: <Ctrl><Shift>uff63    Windows: <alt><+=
>ff63
        U201D  =E2=80=9E   Linux: <Ctrl><Shift>u201D    Windows: <alt><+>=
201D
        U00AB  =C2=AB   Linux: <Ctrl><Shift>u00AB    Windows: <alt><+>00A=
B
        U00BB  =C2=BB   Linux: <Ctrl><Shift>u00BB    Windows: <alt><+>00B=
B
        U2260  =E2=89=A0   Linux: <Ctrl><Shift>u2260    Windows: <alt><+>=
2260
        U2248  =E2=89=88   Linux: <Ctrl><Shift>u2248    Windows: <alt><+>=
2248


Some uses:

    For use as a literal quote in a regex (`Q[]` does not work inside=20
regex's)

       say so Q[A:\] ~~ / =EF=BD=A2:\=EF=BD=A3 /;
       True

       say so Q[A:\] ~~ / =EF=BD=A2:/=EF=BD=A3 /;
       False

    For accessing keys inside a hash with a variable:

      my %h=3D a=3D>"A", b=3D>"B";
      my $i=3D "b";
      say %h<$i>;
      (Any)
      say %h<<$i>>;
      B
      say %h=C2=AB$i=C2=BB;
      B
      say %h{$i};
      B

   Math:
      say so 5 =E2=89=A0 6
      True

      say so 5 =E2=89=A0 5
      False
0
perl6
12/11/2019 3:03:47 AM
I am having a ton if fun with this!

E =3D =C2=BDMV=C2=B2

my $e; my $m=3D5; my $v=3D22; $e=3D=C2=BD*$m*$v=C2=B2; say $e
1210
0
perl6
12/11/2019 4:17:07 AM
Reply: