Opened 14 years ago
Closed 13 years ago
#8352 closed defect (fixed)
[Patch] Chinese character in wiki name cause UnicodeEncodeError
Reported by: | anonymous | Owned by: | Steffen Hoffmann |
---|---|---|---|
Priority: | normal | Component: | TagsPlugin |
Severity: | normal | Keywords: | unicode |
Cc: | Trac Release: | 0.12 |
Description
See attachment:Screenshot.png for detail, the screenshot's url is http://.../test/tags?q='testing' .
The patch for this ploblem is the attachment file macros.py
(see line 81), for your reference.
Attachments (2)
Change History (8)
Changed 14 years ago by
Attachment: | Screenshot.png added |
---|
comment:1 Changed 14 years ago by
Summary: | Chinese character in wiki name cause UnicodeEncodeError → [Patch] Chinese character in wiki name cause UnicodeEncodeError |
---|
Please attach the patch as a diff.
comment:2 Changed 13 years ago by
Keywords: | unicode added |
---|---|
Owner: | changed from Michael Renzmann to Steffen Hoffmann |
This is a patch for tagged branch 0.6
only. Thanks for reporting the issue and providing a possible fix as well.
Nevertheless adding a modified file instead of just the changes (unified diff) is considered bad communication style here. The Python version 2.5 is even irrelevant, but the exact description, where the macros.py
has been taken from would save us valuable development time, as Ryan already suggested. Please take care.
I've extracted the changes and verified that trunk
already has another solution in place.
comment:3 Changed 13 years ago by
(In [10385]) TagsPlugin: Allow Unicode wiki page names for ListTaggedMacro
macro, refs #8352.
Thank you very much for the report including a possible solution alongside.
comment:4 Changed 13 years ago by
Status: | new → assigned |
---|
Please test the new revision and feel free to close this ticket with solution 'fixed', if appropriate. Thank you again for taking care.
comment:6 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
At least, I think #8904 is a duplicate, or is a very similar issue anway. As I reported in that ticket, the issue with using 回退
as a tag seems to be fixed.
Using the same test case with the ListTagged
macro indicates this issue is resolved as well.
The error screen