Marcello has asked for the wisdom of the Perl Monks concerning the following question:
How can I accomplish this?use strict; use warnings; use Encode; my $utf8 = Encode::decode('utf-8', '[€]'); $utf8 =~ tr![]€!<>E!; print $utf8;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: tr/// latin1 on utf8 string
by duelafn (Parson) on Mar 13, 2008 at 13:50 UTC | |
|
Re: tr/// latin1 on utf8 string
by moritz (Cardinal) on Mar 13, 2008 at 13:14 UTC | |
|
Re: tr/// latin1 on utf8 string
by ikegami (Patriarch) on Mar 13, 2008 at 15:54 UTC |