Why do you try to convert/read the file names from find as UTF-8? Maybe simply keeping the filenames as-is already is enough?
See maybe binmode to make Perl not convert stuff it reads. Of course, then using UTF-8 regular expressions will stop working. If you want to mix UTF-8 and other encodings, read all data with its respective encoding. If your filesystem delivers filenames in different encodings, clean up your filesystem.
In reply to Re: How to make PERL just execute the script until its end?
by Corion
in thread [CLOSED] How to make PERL just execute the script until its end?
by nikolay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |