[Trac-tickets] Re: [The Trac Project] #1754: unnecessary base64
encoding in trac (ticket) emails
The Trac Project
noreply at edgewall.com
Tue Jul 5 19:19:23 CDT 2005
#1754: unnecessary base64 encoding in trac (ticket) emails
---------------------+------------------------------------------------------
Id: 1754 | Status: new
Component: general | Modified: Tue Jul 5 19:19:23 2005
Severity: normal | Milestone:
Priority: normal | Version: devel
Owner: jonas | Reporter: xris <xris*siliconmechanics*com>
---------------------+------------------------------------------------------
Comment (by eblot):
Quoted Printable is a poor encoding system: 3 characters for any non ASCII
byte: for any char code >= 128, QP generates a triplet "=XX", where XX is
the hexadecimal value of the character code. This means up to a 200%
increase of the message size.
Conversely, Base64 maps every character (ASCII or not) from a 8bit range
to a 6bit range. This means a 25% increase of the message size.
QP is an acceptable encoding for (mostly western) european languages,
where most characters are ASCII, with some percentage of special
characters in the range [127..256].
With other languages (not based on the roman/latin alphabet), every
character code is > 256 in Unicode, which means that every UTF8 character
would be translated into many ASCII character (from 6 to 9 ?).
There's nothing wrong with UTF8/Base64. This is not an exotic combination,
it is quite regular, I believe.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1754>
The Trac Project <>
More information about the Trac-Tickets
mailing list