Modify

Opened 8 years ago

Closed 8 years ago

Last modified 2 years ago

#489 closed defect (fixed)

htmldoc does not support utf-8

Reported by: anonymous Owned by: athomas
Priority: normal Component: PageToPdfPlugin
Severity: major Keywords:
Cc: Trac Release: 0.10

Description

After installing pagetopdf I tried it on my wiki (with accents) and the pdf was bad encoded. I tried to add "charset utf-8" in the htmldoc exec statement, then tried it in command line and then, discovered that HTMLDoc does not support UTF-8. That's a shame. The filter may be change but I did not find any.

Attachments (1)

pagetopdf-i18n.patch (1.1 KB) - added by anonymous 8 years ago.
PageToPDFPlugin i18n patch

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by anonymous

PageToPDFPlugin i18n patch

comment:1 Changed 8 years ago by anonymous

I`ve create a patch that solve this problem. If you have correct value in trac.ini default_codepage field the pdf will show correct (not just english) characters. Also this patch enable to embed images in PDF.

comment:2 Changed 8 years ago by athomas

You, sir, have done a sterling job. I'll test and integrate in the next commit.

comment:3 Changed 8 years ago by athomas

  • Resolution set to fixed
  • Status changed from new to closed

(In [1158]) i18n patch submitted by random anonymous user. Closes #489.

comment:4 Changed 2 years ago by anonymous

The htmldoc 1.9.x has utf8 support

Add Comment

Modify Ticket

Action
as closed The owner will remain athomas.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.