Modify

Opened 10 years ago

Closed 5 years ago

#1495 closed defect (wontfix)

UnicodeEncodeError

Reported by: anonymous Owned by: Noah Kantrowitz
Priority: normal Component: CombineWikiPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

When I try to convert e.g. the camelcase wiki page included in trac i get the following statement

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4240-py2.4.egg/webadmin/web_ui.py", line 109, in process_request
    path_info)
  File "build/bdist.linux-x86_64/egg/combinewiki/web_ui.py", line 58, in process_admin_request
  File "build/bdist.linux-x86_64/egg/combinewiki/formats.py", line 55, in process_combinewiki
  File "build/bdist.linux-x86_64/egg/combinewiki/formats.py", line 106, in _page_to_file
  File "encodings/iso8859_15.py", line 18, in encode
UnicodeEncodeError: 'charmap' codec can't encode character u'\u201c' in position 314: character maps to <undefined>

but some are functioning normal....

Attachments (0)

Change History (5)

comment:1 Changed 10 years ago by Noah Kantrowitz

Resolution: invalid
Status: newclosed

This plugin doesn't support Unicode (or any multi-byte charsets) for the Postscript and PDF output formats, nor will it ever.

comment:2 Changed 10 years ago by anonymous

which characterset should I use then? and why did it function with some files? which lines should i add in trac.ini:

[combinewiki]
charset = ...

comment:3 Changed 10 years ago by anonymous

Resolution: invalid
Status: closedreopened

comment:4 Changed 8 years ago by anonymous

Same problem here...strange, as I created all wiki pages from scratch with internal editor... no unicode used, just plain ascii chars

comment:5 Changed 5 years ago by Ryan J Ollos

Resolution: wontfix
Status: reopenedclosed

Deprecated: Please try the TracWikiToPdfPlugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
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.