[dev] Problem with mime parts' charsets

Michael M Slusarz slusarz@bigworm.colorado.edu
Tue Nov 19 00:43:11 2002


Quoting Jan Schneider <jan@horde.org>:

| MIME parts' charsets are currently either not correctly set or not
| correctly read.
| 
| I found a redundancy while wading knee deep through the mime code: In
| MIME_Structure::_parse() we loop through the results of
| MIME_Structure::getParameters() if we have a mime part. After that
| MIME_Structure::setInfo() is called that does exactly the same.

In response to Jan's overall confusion, and this duplication of code, I 
tried to clean up the code somewhat in MIME_Structure.  Hopefully it will 
be both a bit faster _and_ a bit easier to read.

I will take a look at the charset stuff in a bit.

michael

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


More information about the dev mailing list