Manfred Stienstra
3/8/2007 12:14:00 PM
On Mar 8, 11:58 am, "Isak" <isak.han...@gmail.com> wrote:
> Our (rails) app is mainly utf-8, so we set kcode to u.
>From Rails 1.2 on KCODE is always set the 'u', so you might not have
to set it anymore.
> However, we need to generate pdfs using the cp1252 encoding, as the
> FPDF library doesn't have unicode support.
Ok, so FPDF doesn't support Unicode.
> Translating strings work fine using iconv, but the library is using
> sprintf internally, which blows up on non-utf8 characters.
But you can only feed it utf-8 characters?