[imp] charset missing in the headers

Michael M Slusarz slusarz at bigworm.colorado.edu
Fri Nov 14 09:00:21 PST 2003


Quoting Benoit St-Andre <ben at benoitst-andre.net>:

| Hi all
|
| Using IMP HEAD version, if you lock sending_charset pref , it seems that
| the
| charset appears empty in the header like this
| Content-Type: text/plain;
|   charset=""
[snip]
| In brief, the bug seems to be that if the sending_charset pref is locked,
| the
| value indicated in that pref is not used and should be.
|
| Instead of just reporting the bug, here's my attempt to patch it
| (imp/templates/compose/compose.inc) It seems to work well, maybe somebody
| can just confirm my guess about the source of the weird accents problem.

I modified the solution to insted access the locked preference value
directly in compose.php instead of passing it in via a POST variable
(since, technically, using this method a user could alter the form and
overwrite the default value if they were so inclined).

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list