Modify ↓
#92 closed defect (fixed)
TocMacro can not work in Japanese title
Reported by: | anonymous | Owned by: | Alec Thomas |
---|---|---|---|
Priority: | low | Component: | TocMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
In Japanese, TocMacro can not work. So, I make a patch. Please check it.
60c60 < default_anchor = anchor = Formatter._anchor_re.sub("", header.decode('utf-8')) ---
default_anchor = anchor = Formatter._anchor_re.sub("", header)
Attachments (0)
Change History (5)
comment:1 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 19 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
No, version 320 is not working.
Please decode anchor to utf-8.
63c63 < default_anchor = anchor = Formatter._anchor_re.sub("",header.decode('utf-8')) --- > default_anchor = anchor = Formatter._anchor_re.sub("", header)
comment:3 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:4 Changed 19 years ago by
Unfortunately this change breaks other international characters, as reported in #146. I don't suppose you have a solution to this? Perhaps I need to used the encoding from the HTTP request.
comment:5 Changed 19 years ago by
I understood. But, I don't have another solutions..
Please cancel the change if other troubles occur.
Thanks.
Note: See
TracTickets for help on using
tickets.
Is this working now? jouvin made some changes which I believe should clear this up.