Modify

Opened 7 years ago

Closed 7 years ago

#1486 closed defect (fixed)

Charset problem, empty pdf file

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

Description

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

[pagetopdf]
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 7 years ago by anonymous

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

Sorry! I didn't have htmldoc installed.

It works fine.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from athomas. Next status will be 'closed'.
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.