Do I really understand what these lines do? No.
use uft8;
use open ':encoding(utf8)';
binmode(STDOUT, ':utf8'); (and the same for STDIN)
However, if all of this is new to you it's probably best to start with perlunitut.
As to your problem of deleting multi-byte characters: does the same problem happen in your terminal when not using perl? If so, that's a problem with your terminal settings and needs to be solved there.
In reply to Re: Deleting Chinese characters while reading
by hippo
in thread Deleting Chinese characters while reading
by alexharv074
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |