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

Re: Malformed UTF-8?

Thread Next
From:
The Sidhekin
Date:
June 16, 2018 15:37
Subject:
Re: Malformed UTF-8?
Message ID:
CAHAeAG431GOzi58nwcscotbdiTLYEc7GJ9mTKPhBbBHktPORag@mail.gmail.com
On Sat, Jun 16, 2018 at 5:19 PM, Brandon Allbery <allbery.b@gmail.com>
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).
>

  Are you sure it's a data file?  I thought I recognized that code, and it
was handling directory entries ... ah, but it used to read ls output from
STDIN ... right ...

  Either way, the data (file or directory) has been read already, unless
@Logs is seriously lazy.  And it has at least one entry with malformed
UTF-8.

  So, I guess a look at how @Logs is populated is in order.


Eirik

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