in reply to Re^2: need help in printing German umlauts
in thread need help in printing German umlauts
Don't forget the trailing ?=:
#!/usr/bin/perl use feature qw/say/; use warnings; use strict; use Encode; my $str = "Wir freuen uns, dass Sie den 1&1 E-Mail-Service f=C3=BCr Ih +re=20"; say decode('MIME-Header', "=?iso-8859-1?Q?" . $str . "?=");
Output:
$ perl 1092761.pl Wir freuen uns, dass Sie den 1&1 E-Mail-Service für Ihre $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: need help in printing German umlauts
by opensourcer (Monk) on Jul 08, 2014 at 18:27 UTC | |
by AppleFritter (Vicar) on Jul 08, 2014 at 18:42 UTC | |
by Anonymous Monk on Jul 08, 2014 at 19:48 UTC |