This queue is for tickets about the PDF-API2 CPAN distribution.

Report information
The Basics
Id:
33497
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
0.69
Fixed in:
2.034



Subject: PDF::API2::Outline::title() problem in using Unicode string
When setting Unicode string (use utf8;) in an outline title, that is viewed broken. I wrote code below to avoid problem. *PDF::API2::Outline::title = sub { my $self = shift ; my $txt = shift; use PDF::API2::Basic::PDF::Utils; if( utf8::is_utf8( $txt ) ){ $self->{Title}=PDFUtf($txt); } else { $self->{Title}=PDFStr($txt); } return($self); };
FYI, this is fixed in PDF::Builder
PDF::API2 2.034 will automatically detect and encode Unicode characters in PDF strings, which also resolves this (very old) bug.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.