[Trac-tickets] Re: [The Trac Project] #1754: unnecessary base64 encoding in trac (ticket) emails

The Trac Project noreply at edgewall.com
Tue Jul 5 05:44:08 CDT 2005


#1754: unnecessary base64 encoding in trac (ticket) emails
---------------------+------------------------------------------------------
       Id:  1754     |      Status:  new                             
Component:  general  |    Modified:  Tue Jul  5 05:43:47 2005        
 Severity:  normal   |   Milestone:                                  
 Priority:  normal   |     Version:  devel                           
    Owner:  jonas    |    Reporter:  xris <xris*siliconmechanics*com>
---------------------+------------------------------------------------------
Comment (by eblot):

 That would be an optimisation, may be.

 Everything in Trac is stored as UTF-8, I believe. If the whole message is
 made of pure ASCII characters, Base64 encoding might be disabled, but that
 means the message would have to be parsed, checked that UTF-8 stream only
 contains characters < 127 , and to disable Base64. Much work for a few
 gains: Base64 works gracefully in all cases.

 Encoding pure ASCII in Base64 is valid, even not optimal.

 I'm not sure to understand what you meant by "no raw-text format" ?

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1754>
The Trac Project <>


More information about the Trac-Tickets mailing list