Opened 16 years ago
Closed 16 years ago
#239 closed defect (invalid)
Call to Markup() with non-breaking space raises exception
Reported by: | ddorothy@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | General | Version: | 0.5 |
Keywords: | Cc: |
Description
When calling Markup(content) where "content" contains non-breaking spaces (i.e. ), I get the following fatal exception:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 664: ordinal not in range(128)
I'm calling Markup() inside a master template, like this:
${Markup(content)}
Change History (1)
comment:1 Changed 16 years ago by cmlenz
- Milestone 0.6 deleted
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Please see Why does Genshi raise a UnicodeDecodeError when I try to render non-ASCII strings? in the FAQ.