in reply to utf8 "\xB7" does not map to Unicode at /usr/local/bin/бибс/об‰ line 112.

I don't think its possible (easy) for qx to trigger https://metacpan.org/pod/perldiag#s-x-X-does-not-map-to-Unicode

I think you need to read perlunitut: Unicode in Perl

and see about getting STDOUT/STDERR to encode stutf by default (maybe utf8::all maybe not)

  • Comment on Re: utf8 "\xB7" does not map to Unicode at /usr/local/bin/... line 112.

Replies are listed 'Best First'.
Re^2: utf8 "\xB7" does not map to Unicode at /usr/local/bin/... line 112.
by Anonymous Monk on Nov 02, 2015 at 15:06 UTC
    I don't think its possible (easy) for qx to trigger https://metacpan.org/pod/perldiag#s-x-X-does-not-map-to-Unicode
    Why, it's pretty easy
    $ touch $'\xB7' $ perl -wE 'use open qw( :encoding(utf-8) :std ); qx( ls )' utf8 "\xB7" does not map to Unicode at -e line 1.
    To the OP:
    So, i suppose error appears because of the output that qx operator returns
    I suppose the error appears because your file name is not in valid UTF-8. You should check that.