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

<CharsetConverters> for HTML?



Charset conversion is not being done to HTML messages.

m2h_text_plain::filter() does call a charset conversion function, if 
applicable, but m2h_text_html::filter() does not.

My Questions:

1. Why is that?

2. Suppose I have HTML messages in different encodings. My archive 
contains the messages in their original encoding, and, apart from having 
a charset soup, it seems that I don't have any means to specify the 
correct <meta http-equiv="content-type" content="text/html; 
charset=XXX"> tag. Isn't this an i18n design flaw?

3. One way to somehow solve the above problem is to instruct MHA, using 
<MIMEAltPrefs>, to prefer the text/plain media-type over text/html. 
Another way is to write my own HTML filter to do the conversion, and 
then call MHA's filter, m2h_text_html::filter. Am I correct? Are there 
other solutions?


---------------------------------------------------------------------
To sign-off this list, send email to majordomo@mhonarc.org with the
message text UNSUBSCRIBE MHONARC-USERS


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]