in reply to Re^4: PDF::Template and character encodings
in thread PDF::Template and character encodings
As per your OP, do you really get "~Aj", or is it per chance æ
(which is a à á - a grave acute) ?
If that is the case, you are getting utf-8 from your database - run that data through Encode. Alternatively, try using iso10646-1 (or utf8 without the hyphen).
Using those fonts might fail since it seems likely that the strings coming from the database don't have the internal UTF8 flag set.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: PDF::Template and character encodings
by geektron (Curate) on Oct 16, 2007 at 17:15 UTC | |
by shmem (Chancellor) on Oct 16, 2007 at 17:51 UTC | |
by geektron (Curate) on Oct 16, 2007 at 19:51 UTC |
In Section
Seekers of Perl Wisdom