Modify ↓
Opened 19 years ago
Closed 19 years ago
#1013 closed defect (duplicate)
exception while exporting
| Reported by: | Ittay Dror | Owned by: | Noah Kantrowitz |
|---|---|---|---|
| Priority: | high | Component: | CombineWikiPlugin |
| Severity: | critical | Keywords: | |
| Cc: | Trac Release: | 0.10 |
Description (last modified by )
2006-12-14 15:06:29,498 Trac[main] ERROR: 'charmap' codec can't encode character u'\u201c' in position 1936:
character maps to <undefined>
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 238, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-i686/egg/webadmin/web_ui.py", line 109, in process_request
File "build/bdist.linux-i686/egg/combinewiki/web_ui.py", line 58, in process_admin_request
File "build/bdist.linux-i686/egg/combinewiki/formats.py", line 40, in process_combinewiki
File "build/bdist.linux-i686/egg/combinewiki/formats.py", line 90, in _page_to_file
File "/usr/lib/python2.4/encodings/iso8859_15.py", line 18, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode character u'\u201c' in position 1936: character maps to <un
defined>
Attachments (0)
Change History (4)
comment:1 Changed 19 years ago by
| Description: | modified (diff) |
|---|---|
| Keywords: | needinfo added |
comment:2 Changed 19 years ago by
| Keywords: | needinfo removed |
|---|
yep, have the latest version my default_charset is iso-8859-15 (as also evident in the stack trace i think)
comment:4 Changed 19 years ago by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Replying to ittayd:
btw, i copied the page from a word doc.
In UTF8, 0x201C is a reverse double quote. You probably have smart quotes turned on in Word. This character isn't part of ISO-8859-15 so it is correct in throwing an error. You will need to correct this in your page as HTMLDOC does not support UTF8 (#489).
Note: See
TracTickets for help on using
tickets.



Please verify that: