Message107087
| Author |
r.david.murray |
| Recipients |
l0nwlf, lemburg, r.david.murray |
| Date |
2010年06月04日.18:53:49 |
| SpamBayes Score |
0.0060433424 |
| Marked as misclassified |
No |
| Message-id |
<1275677631.44.0.514670475259.issue8898@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Currently the email module maintains a set of "charset" aliases that it maps to codec names before looking up the codec in the codecs module. Ideally it should instead be able to just look up any 'charset' name, and if it is a valid alias for a codec, the codec module would return the codec with the canonical name. It is possible (I haven't checked yet) that the email module needs a different canonical 'charset' name for certain codecs, but if so it can do that mapping after getting the canonical codec name from codecs.
To implement this we need to make two simple changes:
1) add any aliases the email module recognizes but the codecs module doesn't to the codecs module.
2) rewrite email.charset so that it does not have an ALIASES table (but may have a smaller 'canonical charset map' table instead). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年06月04日 18:55:09 | r.david.murray | set | recipients:
+ r.david.murray, lemburg, l0nwlf |
| 2010年06月04日 18:53:51 | r.david.murray | set | messageid: <1275677631.44.0.514670475259.issue8898@psf.upfronthosting.co.za> |
| 2010年06月04日 18:53:49 | r.david.murray | link | issue8898 messages |
| 2010年06月04日 18:53:49 | r.david.murray | create |
|