Edgewall Software
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

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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.