Re: bogofilter/src convert_unicode.c,1.5,1.6

David Relson <[email protected]>
Newsgroups gmane.mail.bogofilter.devel
Organization Osage Software Systems, Inc.
Message-ID <[email protected]>
On Fri, 24 Jun 2005 19:38:13 +0200
Stefan Bellon wrote:

> David Relson wrote:
> > On Mon, 20 Jun 2005 00:54:06 +0200
> > Matthias Andree wrote:
> > > David Relson <[email protected]> writes:
> 
> > > > +	if (err == EINVAL) {
> > > > +	    /* error - use identity mapping */
> > > > +	    fprintf( stderr, "Conversion from '%s' to '%s' is not
> > > >                supported.\n", from_charset, to_charset );
> > > > +	    cd = iconv_open( "iso-8859-1", "iso-8859-1" );
> 
> [snip]
> 
> > Perhaps we'd do better if we disable translation when iconv_open()
> > rejects the character set ???
> 
> Sorry for jumping in so late, but I'd like to see a way to either
> disable that particular error message or write it into the log file
> instead. When running bogofilter unattended, this is the only error
> message ever I see on stderr, which is ... unexpected. I'd rather see
> it in the log file. Comments?

Hi Stefan,

You're not too late, at all !  In the newest code (in CVS) the message
appears only when DEBUG flags are set, specifically "-x I -vv".  It'll
be in 0.95.1.

For now, comment out the line..

Regards,

David

_______________________________________________
Bogofilter-dev mailing list
[email protected]
http://www.bogofilter.org/mailman/listinfo/bogofilter-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.