# New Ticket Created by  Alex Jakimenko 
# Please include the string:  [perl #127671]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127671 >


One-liner to reproduce the bug (preferably run it in an empty directory):

perl -E 'mkdir pack "h*", "60ba"'; perl6 -e 'dir; say ‘hello’'

Result:
Malformed UTF-8 at line 1 col 2
  in block <unit> at -e line 1


It should not die. Such file (or directory) exists and all operations with it 
should work.

I've reproduced that on linux with ext4 filesystem. ugexe confirmed it.

It was reported that this bug is not reproducible with that one-liner on OS X:
<ParsonsNose> AlexDaniel I get no errors. it just makes a directory called 
^F%AB/    ..

Windows gives no error, and doesn't appear to make the directory

See also this: http://irclog.perlgeek.de/perl6/2016-03-07#i_12150444

Reply via email to