7 Einträge, 1 Seite |
1
2
my $copy_ze = "©";
my $copyright = $prog->Label(-text=> $copy_ze. "2006, by Daniel Cip ")->pack();
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl
use strict;
use warnings;
use Tk;
use charnames ':full';
my $mw = tkinit();
my $copy = "\N{COPYRIGHT SIGN}";
$mw->Label(-text => $enc_copy)->pack();
MainLoop;
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl
use strict;
use warnings;
use Tk;
use charnames ':full';
my $mw = tkinit();
my $copy = "\N{COPYRIGHT SIGN}";
$mw->Label(-text => $enc_copy)->pack();
MainLoop;
1
2
3
4
$ perl -MHTML::Entities -e 'warn HTML::Entities::encode_entities("\x{20ac}")'
€ at -e line 1.
$ perl5.8.8 -MHTML::Entities -e 'binmode STDOUT, ":utf8"; print HTML::Entities::decode_entities("€"), "\n"'
(Drei Bytes für das utf-8-Zeichen)
7 Einträge, 1 Seite |