Modify ↓
Ticket #256 (closed defect: fixed)
TracNav cannot handle non-ASCII text in r3085 or later
| Reported by: | gotoh@… | Owned by: | moschny |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | trac.tracnav | Version: | |
| Severity: | major | Keywords: | |
| Cc: |
Description
In changes in r3085, it is changed to use cStringIO. By this change, we cannot use japanese TOC text. I made workaround for this by simply reverting use of cStringIO.
-
tracnav.py
64 64 from trac.web.chrome import ITemplateProvider, add_stylesheet 65 65 from trac.wiki.model import WikiPage 66 66 from trac.wiki.formatter import Formatter, OneLinerFormatter 67 try: 68 from cStringIO import StringIO 69 except ImportError: 70 from StringIO import StringIO 67 from StringIO import StringIO 71 68 72 69 73 70 TRACNAVHOME = "http://svn.ipd.uka.de/trac/javaparty/wiki/TracNav"
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Are you sure that this is a problem of cStringIO per se? For testing, I just added some japanese text to the our SandBox/TOC and it seems to work.