Modify ↓
Ticket #4054 (closed defect: worksforme)
Opened 5 years ago
Last modified 5 years ago
Wrong alignment of non-ascii characters in email notifications
| Reported by: | Grzegorz Adam Hankiewicz <ghankiewicz@…> | Owned by: | jonas |
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | ticket system | Version: | 0.9.6 |
| Severity: | trivial | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API 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
Change History
comment:1 Changed 5 years ago by cboos
- Resolution set to worksforme
- Status changed from new to closed
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.