Ticket #224 (closed defect: duplicate)
escape() function doesn't handle non-ASCII text
| Reported by: | kovid@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Template processing | Version: | 0.4.4 |
| Keywords: | Cc: |
Description
The escape function in core.py raises a UnicodeDecodeError? when passed a non-ascii string. Instead it should either not convert to unicode or use 'replace' error handling. See the traceback in http://calibre.kovidgoyal.net/ticket/650 for an example of an error caused by this behavior.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
