#727722 Documentation: "Title in non-English characters" incorrect

#727722#5
Date:
2013-10-25 15:33:50 UTC
From:
To:
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.

#727722#10
Date:
2013-10-27 12:54:23 UTC
From:
To:
Thank you, forwarded upstream.


Cheers,
gregor