So, if I understand correctly, when I represent the path string, piped from the find process to my program, with a byte steam, it should test correctly for existence by using -e.
And it does if you stop trying transforming the input from UTF-8 (which it isn't) to Unicode Code Points.
I've been trying to implement a routine that will recover from such corruption
Much easier to remove the erroneous conversion attempt that's corrupting it.
In reply to Re^3: utf8 "\xD0" does not map to Unicode at /path/comparebin.pl line line_number, <STDIN> line line_number
by ikegami
in thread utf8 "\xD0" does not map to Unicode at /path/comparebin.pl line line_number, <STDIN> line line_number
by igoryonya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |