Ticket #299 (closed defect: fixed)
Unicode characters destroyed by "ASCII trimming"
| Reported by: | anonymous | Owned by: | mbonetti |
|---|---|---|---|
| Priority: | normal | Milestone: | Gregarius 0.5.5 |
| Component: | BUGS | Version: | 2.0 |
| Severity: | minor | Keywords: | unicode trimming character semantics |
| Cc: |
Description
Character semantics should be respected when trimming strings (e.g. feed title, post title), e.g. to enhance presentation. i.e. Avoid chopping a Unicode character in two.
This problem is most obvious with CJK feeds but affects many other languages.
Example:
On the index page, links presenting previous and next posts display trimmed item titles. The trailing Unicode character is often destroyed by byte-semantic trimming. The corrupted character is displayed as a dark diamond enclosing a question mark.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
