On Sun, Oct 14, 2018 at 10:23 AM ToddAndMargo via perl6-users <[email protected] <mailto:[email protected]>> wrote:Hi All,Over on https://docs.perl6.org/routine/slurp # read entire file as Latin1 Str my $text_contents = slurp "path/to/file", enc => "latin1"; Where is the list of my options for "enc"? Many thanks, -T
On 10/14/18 4:37 AM, Ralph Mellor wrote:
https://docs.perl6.org/routine/encoding
Hi Ralph, Perfect! I love it! Thank you! Just posted: RFE: place link to |c (encoding) on slurp page https://github.com/perl6/doc/issues/2385 -T -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Computers are like air conditioners. They malfunction when you open windows ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
