mhonarc-users

Re: Unrecognized character set: windows-1252 [2nd try]

2000-12-01 11:36:26
At 9:36 PM -0800 11/27/00, Earl Hood wrote:

 > ><CharsetConverters>
 >windows-1252;   iso_8859::str2sgml;     iso8859.pl
 ></CharsetConverters>
 >
 > >http://www.xray.mpe.mpg.de/mailing-lists/mhonarc/2000-06/msg00002.html

 didn't work, and that's what I would've tried (maybe without the
 spaces).

Looking at mhtxtplain.pl, it appears the text/plain filter only
keys off the CharsetConverters for "-decode-" charsets (note:
CharsetConverters are used for non-ASCII encoded data in message
headers).

All other sets it does its own internal checks.  The filter should
probably be changed to key completely off CharsetConverters.
I cannot remember the initial reason why I did not do that way
in the first place.

In the mean time, you can comment out the warning statement from
mhtxtplain.pl.

Thanks for responding. Do you mean I should (1) take this section:

    ## Check MIMECharSetConverters if charset should be left alone
    if (defined($readmail::MIMECharSetConverters{$charset}) and
            $readmail::MIMECharSetConverters{$charset} eq "-decode-") {
        $asis{$charset} = 1;
    }

and make it:

    ## Check MIMECharSetConverters if charset should be left alone
    if (defined($readmail::MIMECharSetConverters{$charset})) {
        $asis{$charset} = 1;
    }

and in addition (2) add the above CharsetConverter? I just don't want to screw everything up. Thanks,

Bob

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Unrecognized character set: windows-1252 [2nd try], Robert Hsiung <=