Opened 10 years ago

Closed 10 years ago

#1486 closed defect (fixed)

Charset problem, empty pdf file

Reported by: malaguna Owned by: Alec Thomas
Priority: normal Component: PageToPdfPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


I've just install the plugin in a fedora 6 with locale=es_ES.UTF-8.

All my pages are in spanish. I use mod_python and I specified option TracLocale es_ES in apache.

When I ask for a pdf version of a page I get the following in the log

2007-04-25 09:15:09,422 Trac[pagetopdf] DEBUG: HTML output for PageToPDF in charset iso-8859-1
2007-04-25 09:15:09,426 Trac[api] DEBUG: Updating wiki page index
2007-04-25 09:15:09,444 Trac[pagetopdf] DEBUG: --right 1.5cm --bottom 1.5cm --webpage  --top 1.5cm --format pdf14 --size A4 --charset es_ES.UTF-8 --left 1.5cm

I have specified the following options in trac.ini

size = A4
charset = es_ES.UTF-8

and I also tried with no charset and charset=iso-8859-1, but always fails. The output pdf is always empty.

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by anonymous

Resolution: fixed
Status: newclosed

Sorry! I didn't have htmldoc installed.

It works fine.

Modify Ticket

Change Properties
Set your email in Preferences
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.