Bug#727722: Documentation: "Title in non-English characters" incorrect
Robert Lange
robert.lange at s1999.tu-chemnitz.de
Fri Oct 25 15:33:50 UTC 2013
Package: libchart-gnuplot-perl
Version: 0.20-2
Severity: minor
Dear Maintainer,
the following entry in the Chart::Gnuplot documentation is not correct,
Using the given statements results in an error (";" expected):
6. Title in non-English characters (Thanks to WOLfgang Schricker)
use Encode;
my $title = ... # Title with German umlauts
$title = decode("utf8", $title);
Chart::Gnuplot->new(
encoding => 'iso-8859-1',
title => $title,
);
The correct syntax should be:
Chart::Gnuplot->new(
encoding => 'utf8',
title => $title,
);
No decoding required. Takes also care about the labels.
-- System Information:
Debian Release: 7.2
APT prefers stable
APT policy: (800, 'stable'), (500, 'stable-updates'), (70,
'unstable'), (70, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libchart-gnuplot-perl depends on:
ii gnuplot-nox 4.6.0-8
ii perl 5.14.2-21+deb7u1
Versions of packages libchart-gnuplot-perl recommends:
ii ghostscript 9.05~dfsg-6.3+deb7u1
ii imagemagick 8:6.7.7.10-5+deb7u2
libchart-gnuplot-perl suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list