develooper Front page | perl.perl6.users | Postings from June 2022

encode $encoding list ???

Thread Next
From:
ToddAndMargo via perl6-users
Date:
June 19, 2022 07:55
Subject:
encode $encoding list ???
Message ID:
3ea69239-dd92-7cc9-f7e5-009f78bfa08f@zoho.com
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????  GGGGRRRRR!!!!

-T

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About