Modify ↓
Opened 18 years ago
Closed 18 years ago
#4054 closed defect (worksforme)
Wrong alignment of non-ascii characters in email notifications
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | ticket system | Version: | 0.9.6 |
Severity: | trivial | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
For a Spanish configuration I have created the priority crítica, whose python string representation would be cr\xedtica. When I get an email about a ticket with this priority, the fields are not properly aligned:
-------------------------+-------------------------------------------------- Reporter: ghankiewicz | Owner: ghankiewicz Type: defecto | Status: new Priority: crítica | Milestone: TV Madrid-Toledo 2
I suspect the field is being misaligned because its length is being counted as the number of bytes it occupies, rather than the number of characters it has.
I don't think this is an i18n issue, rather an encoding/decoding detail.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Yes, and this is one of the many problematic details that we solved by using
unicode
internally, in 0.10.This won't be fixed for 0.9.x, you should consider upgrading.