Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#4054 closed defect (worksforme)

Wrong alignment of non-ascii characters in email notifications

Reported by: Grzegorz Adam Hankiewicz <ghankiewicz@…> 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)

Change History (1)

comment:1 by Christian Boos, 17 years ago

Resolution: worksforme
Status: newclosed

an encoding/decoding detail.

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.