But I am unable to find the right unicode search-pattern.Your patterns look ok. You just need to open STDIN in ':encoding(utf-8)' mode. Use binmode or use open pragma.
#!/usr/bin/perl use strict; use warnings; use utf8; use charnames ':full' # STDIN, STDOUT, STDERR and all opened files are utf-8 use open qw( :encoding(utf-8) :std ); ...
In reply to Re: replace some emoticons - search pattern needed
by Anonymous Monk
in thread replace some emoticons - search pattern needed
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |