Richard Liao wrote:
> Hi,
>
> The trac notification mails which contain east asia characters (CJK)
> are not formatted well.
> I think it's because  east asia characters occupy double width of
> normal characters, but notification mail formatter has not taken these
> into account.
> (...)
>
> I have make a patch to
> http://svn.edgewall.com/repos/trac/tags/trac-0.10.4/trac/ticket/notification.py(r7093).
> See the attachment.
>   

Please make a patch against /branches/0.11-stable

> The patch uses function unicodedata.east_asian_width() to detect all
> double width characters.
>
> If this is a bug, should I create a ticket for it?
>   

I think there's already one: http://trac.edgewall.org/ticket/4717

>From what is written there, looks like the patch should be even rather
targeted to trunk.
(Python 2.4 requirement - btw, we did not yet formally agree on that,
only a +1 from jhampton, asmodai and me so far).

-- Christian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to