Thread Umlaute in Mail Subject: UTF8 Subjct mit MIME::Lite (8 answers)
Opened by Gast at 2006-12-13 12:40

renee
 2006-12-13 14:46
#37418 #37418
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Das hier sollte helfen:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl

use strict;
use warnings;
use CGI qw(:standard);
use Encode;

print header('text/plain');

my $var = param('test');
$var = decode_utf8($var);
print $var;
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Umlaute in Mail Subject: UTF8 Subjct mit MIME::Lite