in reply to Re^3: utf8 "\xB7" does not map to Unicode at /usr/local/bin/бибс/об‰ line 112.
in thread utf8 "\xB7" does not map to Unicode at /usr/local/bin/бибс/об‰ line 112.
I will answer by example.
open( $vrm, "|-:utf8", "/usr/bin/find $put -$tip $kriteriy" ) or die " +Can't run find: $!\n"; while( <$vrm> ){ push @svitok, $_; } print "ZNAK\n"; print "\n>$svitok[0]<\n"; exit;
Gives me this:
ZNAK Use of uninitialized value $svitok[0] in concatenation (.) or string a +t /usr/local/src/исп/бибс/об‰ line 122. ./svitok1 ./svitok2 ./svitok3 ><
So:
1. >/dev/null only outputs not to terminal -- array remains the same -- and i want to output nothing to terminal.
2. Array is not filled.
3. Strange, but ZNAK mark is outputted *before* output of find though in the code it stands (executed) *after* find. Why?
I think of qx operator -- is there a way that PERL will continue the operator execution -- regardless the encodings present in its output?
Thank you for participation very much!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: utf8 "\xB7" does not map to Unicode at /usr/local/bin/бибс/об‰ line 112.
by graff (Chancellor) on Nov 07, 2015 at 03:16 UTC | |
by nikolay (Beadle) on May 06, 2016 at 10:27 UTC | |
by choroba (Cardinal) on May 06, 2016 at 13:13 UTC |