Opened 12 years ago

Closed 5 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 11 years ago by dbw

Cc: GraemeWorthy added; anonymous removed
Priority: normalhighest

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 5 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain GraemeWorthy.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.