On 6/20/22 00:36, William Michels wrote:
On Sun, Jun 19, 2022 at 11:00 PM ToddAndMargo via perl6-users
mailto:perl6-us...@perl.org>> wrote:
On 6/19/22 21:49, William Michels via perl6-users wrote:
> Hi Todd, I'm trying to follow what you're doing (below in
Terminal app
>
On 6/19/22 23:11, Kevin Pye wrote:
On Mon, 20 Jun 2022, at 15:59, ToddAndMargo via perl6-users wrote:
I had to use "utf8-c8" to keep the line
from crashing.
Well, any of "iso-8859-1" (or "latin-1"), "windows-1251", "windows-1252" or
"windows-932" would also have failed to crash. In fact
On Sun, Jun 19, 2022 at 11:00 PM ToddAndMargo via perl6-users <
perl6-us...@perl.org> wrote:
> On 6/19/22 21:49, William Michels via perl6-users wrote:
> > Hi Todd, I'm trying to follow what you're doing (below in Terminal app
> > on MacOS):
> >
> > ~$ raku
> > Welcome to 퐑퐚퐤퐮퐝퐨™ v2021.06.
> >
On 6/19/22 21:49, William Michels via perl6-users wrote:
Hi Todd, I'm trying to follow what you're doing (below in Terminal app
on MacOS):
~$ raku
Welcome to 퐑퐚퐤퐮퐝퐨™ v2021.06.
Implementing the 퐑퐚퐤퐮™ programming language v6.d.
Built on MoarVM version 2021.06.
To exit type 'exit' or '^D'
>
Hi Todd, I'm trying to follow what you're doing (below in Terminal app on
MacOS):
~$ raku
Welcome to 퐑퐚퐤퐮퐝퐨™ v2021.06.
Implementing the 퐑퐚퐤퐮™ programming language v6.d.
Built on MoarVM version 2021.06.
To exit type 'exit' or '^D'
> print Buf.new(0x84, 0x73, 0x77, 0x84, 0x79).decode("utf8-c8") ~
>print Buf.new(0x84, 0x73, 0x77, 0x84, 0x79).decode("utf8-c8") ~ "\n"
�x84sw�x84y
On 6/19/22 02:30, William Michels via perl6-users wrote:
On Sun, Jun 19, 2022 at 2:16 AM ToddAndMargo via perl6-users
wrote:
On 6/19/22 02:14, ToddAndMargo via perl6-users wrote:
On Sun, Jun 19, 2022 at 12:55 AM ToddAndMargo via perl6-users
wrote:
Hi All,
On Sun, Jun 19, 2022 at 2:16 AM ToddAndMargo via perl6-users
wrote:
>
> On 6/19/22 02:14, ToddAndMargo via perl6-users wrote:
> >
> >> On Sun, Jun 19, 2022 at 12:55 AM ToddAndMargo via perl6-users
> >> wrote:
> >>>
> >>> Hi All,
> >>>
> >>> https://docs.raku.org/routine/encode
> >>>
> >>> multi
On 6/19/22 02:14, ToddAndMargo via perl6-users wrote:
On Sun, Jun 19, 2022 at 12:55 AM ToddAndMargo via perl6-users
wrote:
Hi All,
https://docs.raku.org/routine/encode
multi method encode(Str:D $encoding = 'utf8', :$replacement, Bool()
:$translate-nl = False, :$strict)
shows "ascii" and
On Sun, Jun 19, 2022 at 12:55 AM ToddAndMargo via perl6-users
wrote:
Hi All,
https://docs.raku.org/routine/encode
multi method encode(Str:D $encoding = 'utf8', :$replacement, Bool()
:$translate-nl = False, :$strict)
shows "ascii" and "utf8" as possible values for
"$encoding".
I tool a
Hi Todd,
It's great that you've delved into the "encode" docs.
However to answer your question, I think you want to look at the
"encoding" routine page:
https://docs.raku.org/routine/encoding#class_IO::Handle
Here's the list on that page:
utf8
utf16
utf16le
utf16be
utf8-c8
iso-8859-1
Hi All,
https://docs.raku.org/routine/encode
multi method encode(Str:D $encoding = 'utf8', :$replacement, Bool()
:$translate-nl = False, :$strict)
shows "ascii" and "utf8" as possible values for
"$encoding".
I tool a guess and found out "utf16".
Where are the rest of the values
12 matches
Mail list logo