This question about Using an extension: Task filed

Problem generating international characters

When you try to generate pdf from topic, which has ie.: polish character encoded in ISO-8859-2 (default charset encoding for my wiki), I get garbage instead polish characters.

Solution:

I've added this line:

push @htmldocArgs, "--charset iso-8859-2";

to file lib/Foswiki/Contrib/GenPDFAddOn.pm.

Maybe it's good idea to add new parameter _CHARSET (by default equals to foswiki encoding) to solve this issue.


Good catch - and thanks for the solution. I've filed a task against GenPDFAddOn for this enhancement. Tasks.Item11013

-- GeorgeClark - 31 Jul 2011

QuestionForm edit

Subject Using an extension
Extension GenPDFAddOn
Version Foswiki 1.1.3
Status Task filed
Related Topics Tasks.Item11013
Topic revision: r2 - 31 Jul 2011, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy