Re: [patch] treatment of wrongly encoded 8-bit messages



Am 16.02.03 17:42 schrieb(en) Pawel Salek:

> Seems very promising .. but was it supposed to work for broken messages 
> similar to the attached one? I changed the configuration but I still see 
> question marks..

It should... However, this one is "less broken" than those I got, as there 
*are* some of the MIME headers present:

Content-type: text/plain
Mime-Version: 1.0

If I remove them, the conversion works as expected. So I'll have to look 
deeper into this... My first guess is that libmutt sees some of the mime 
headers, assumes a charset (us-ascii?), and replaces the 8-bit chars by 
"?". The result is that libbalsa_utf8_sanitize (and my patch) will never 
see the original chars. Stay tuned...

Cheers, Albrecht.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
        Phone (+49) 228 6199571  -  mailto:albrecht.dress@arcor.de
_________________________________________________________________________



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]