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

Re: Malformed UTF-8?

Thread Previous
From:
ToddAndMargo
Date:
June 17, 2018 00:57
Subject:
Re: Malformed UTF-8?
Message ID:
70c2a0da-532f-7ba1-2471-e0413057f5f9@zoho.com
>> On Sat, Jun 16, 2018 at 1:09 AM ToddAndMargo <ToddAndMargo@zoho.com 
>> <mailto:ToddAndMargo@zoho.com>> wrote:
>> 
>>     rakudo-pkg-Fedora28-2018.05-01.x86_64.rpm
>>     $ perl6 -v
>>     This is Rakudo version 2018.05 built on MoarVM version 2018.05
>>     implementing Perl 6.c.
>> 
>> 
>>     What did I do wrong, this time?
>> 
>>     Malformed UTF-8
>>         in sub RotateZipFile at /home/linuxutil/CimCheck.pl6 line 290
>> 
>>     290:   @ReverseLogs = @Logs.sort: {my ($month, $day, $year, $hour,
>>     $minute, $second) = .comb(/\d+/);($year // 0, $month // 0, $day // 0,
>>     $hour // 0, $minute // 0,$second // 0, $_);}
>> 

On 06/16/2018 08:19 AM, Brandon Allbery wrote:
> Something's wrong with the data file you are reading. Perl 6 is 
> expecting UTF-8 encoding and getting something else (usually an ISO-8859 
> encoding).
> 

Indeed!

I mistook the error as a compiler error.

It is all abetter now.

Thank you!

Thread Previous


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