#306 closed defect (fixed)
BlogShow macro doesn't accept blog post with accents
Reported by: | Owned by: | John Hampton | |
---|---|---|---|
Priority: | normal | Component: | TracBlogPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Blog posts accept accented textes but BlogShow macros don't.
Attachments (0)
Change History (7)
comment:1 Changed 19 years ago by
Status: | new → assigned |
---|
comment:2 Changed 19 years ago by
I was just referring to 'french accented characters'. Hereafter my very first post with one example:
= Premier test = J'ai installé aujourd'ui : * [http://trac-hacks.org/wiki/TagsPlugin TragTags] * [http://trac-hacks.org/wiki/TracBlogPlugin TracBlog]
comment:3 Changed 19 years ago by
Turns out this is a unicode error with trunk. There is a patch on #T3024 that will fix the error.
I have fired off an email to trac-dev to see if this is really something that I should be handling in the macro itself, but I suspect that it isn't.
comment:4 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [656]) * Now depends on Tags >= 0.3 and < 0.5
- Wrapped macro output in unicode(x, 'utf-8'), Closes #306
- Added patch from alect to support using the title in the URL, Closes #313
- Added patch from coderanger adding a NoFloatFormatter so that the blog won't render macros that support it, like the TocMacro.
comment:5 Changed 19 years ago by
This should be fixed now. Both in the lastet trunk of trac, but also in the blog plugin itself. If you still are experiencing issues, please reopen the ticket
comment:6 Changed 19 years ago by
Works properly with Trac [3128] and TracBlog [658] indeed. Thanks a lot.
(Didn't see TracTags version higher than 0.3? Neither 0.4 neither 0.5?)
comment:7 Changed 19 years ago by
TagsPlugin 0.4 will be released very shortly and will be the stable version while we work on some API cleanup and changes for 0.5. The API changes will break plugins using the 0.3/0.4 API, hence the version dependency range in TracBlogPlugin
Not sure exactly how to duplicate this. Are you referring to unicode characters that are not in the ASCII charset? or are you talking about HTML entities or something?
It's possible that this issue is with how trac handles macros. I believe that there is an additional layer of escaping done, which is probably why it works in blog, but not BlogShow.
Can you expand on how to best test this? Thanks.