in reply to print Unicode characters

How do you generate the PDF?

Most PDF writing modules in Perl don't support arbitrary Unicode characters, so it's often not as easy as just putting a Unicode character into a string (which you'd do with charnames).

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^2: print Unicode characters
by kalyanrajsista (Scribe) on Jun 14, 2010 at 09:29 UTC

    I'm generating PDF using PDF::Template module. Any suggestions please if it doesn't support Unicode characters.

      As I understand it, PDF's "built-in" fonts don't support Unicode characters. So for anything outside the Latin-1 range you need to embed a font.

      The PDF::Reuse module now supports embedding TrueType fonts and outputting non ASCII characters using Perl's internal character string format.