Modify

Opened 11 years ago

Closed 11 years ago

Last modified 5 years ago

#489 closed defect (fixed)

htmldoc does not support utf-8

Reported by: anonymous Owned by: Alec Thomas
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 11 years ago.
PageToPDFPlugin i18n patch

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by anonymous

Attachment: pagetopdf-i18n.patch added

PageToPDFPlugin i18n patch

comment:1 Changed 11 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 11 years ago by Alec Thomas

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

comment:3 Changed 11 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

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

comment:4 Changed 5 years ago by anonymous

The htmldoc 1.9.x has utf8 support

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.