Opened 10 years ago

Closed 4 years ago

#579 closed defect (wontfix)

does not support UTF

Reported by: anonymous Owned by: GraemeWorthy
Priority: highest Component: RssGetMacro
Severity: blocker Keywords:
Cc: GraemeWorthy Trac Release: 0.9


When fetching RSS in UTF-8 into wiki page with different encoding - the end result is broken wiki page: no output but error message is given and no chance to delete this version but for direct link hacking.

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by dbw

  • Cc GraemeWorthy added; anonymous removed
  • Priority changed from normal to highest

I'm having this same issue. Just trying to load hack changes on this site into my wiki.

RSS feed:


Any idea on how to fix it?

Trac detected an internal error:

'ascii' codec can't encode character u'\u2026' in position 658: ordinal not in range(128)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/", line 139, in dispatch_request
  File "/usr/lib/python2.3/site-packages/trac/web/", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/wiki/", line 116, in process_request
    self._render_view(req, db, page)
  File "/usr/lib/python2.3/site-packages/trac/wiki/", line 364, in _render_view
    req.hdf['wiki.page_html'] = wiki_to_html(page.text, self.env, req)
  File "/usr/lib/python2.3/site-packages/trac/wiki/", line 751, in wiki_to_html
    Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
  File "/usr/lib/python2.3/site-packages/trac/wiki/", line 614, in format
    out.write(result + os.linesep)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2026' in position 658: ordinal not in range(128)

comment:2 Changed 4 years ago by rjollos

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

This macro is deprecated. Please request the functionality for the IncludeMacro if you need it.

Add Comment

Modify Ticket

as closed The owner will remain GraemeWorthy.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.