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

Re: mhonarc -scan producing unwanted output for iso-8859-1 special characters



> > However, when I do
> >   shell> mhonarc -quiet -nolock -reverse -scan -outdir www/2005/02
> > 
> > It produces subject lines like
> >   =?iso-8859-1?q?Norwegischer_Bischof_Gunnar_J=2E_St=E5lsett_feier?=
> > 
> > That is not what I want -- I want it to produce the subject like the
> > mhonarc output pages.

> -scan is for terminal-based examination of archive contents.  

Yes.

> It does not invoke CHARSETCONVERTERS since CHARSETCONVERTERS is
> designed for conversion to HTML, not plain text.

OK

> Will you provide more information on how you utilize -scan output?
> It may help in determining what the best solution to your problem is.

I use it to create a web page that has an index of the last 20 posts. 
See http://www.wfn.org/

mhonarc -scan output is parsed and rewritten by a perl script
everytime there is a new post.

Thanks for your advice,

> BTW, if iso-8859-1 is the default encoding for the messages you
> archive, you may want to look at the DECODEHEADS resource.  You could
> instruct mhonarc to decode the non-ASCII encoded text before storing
> the data in the archive.  Therefore, when doing -scan, the non-encoded
> form the text will be shown.

I'm not clear on this.  Given that I'm creating a web page, 
do you think this is the right way?

Michael


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