On 2/13/2010 7:16 PM, Jason Haar wrote: > On 02/14/2010 03:55 PM, Archives wrote: > >> Which is why reformime breaks. Setting it to: >> >> $ENV{'LC_ALL'}= $ENV{'LANG'} = $ENV{'LANGUAGE'} = 'en_US.UTF-8'; >> POSIX::setlocale(&POSIX::LC_ALL,'en_US.UTF-8'); >> >> Results in a perfectly working, unbroken system. (On my machine $LANG= >> 'en_US.UTF-8') >> >> I am posting this result just in case someone else comes along wondering >> why it's suddenly not working. >> >> >> > Eww - not as easy as that I'm afraid. If you read the CHANGES file, > you'll find a section from 10/Apr/2004 > > * The locale is forced to "C" (English) at the beginning of Q-S. That > will standardize the output of localized apps (such as AVs) so that > the string regexes will work more reliably. Note that this has > nothing to do with the normal Q-S language support > > So forcing the locale to "C" (which is English) is critical for the AV > string matches to work. As your host is en.* already, your change does > no harm - but it would break non-en hosts. > > I'll have to take a look at a newer maildrop - obviously something has > changed there... Thanks for the heads-up > > > According to the guy who developed reformime (who i talked to today), reformime inherits $LANG from it's parent process, it might be as simple as putting in a special case where $LANG is set before calling reformime... but I didn't have confidence in my ability to hack up Q-S.
Now there's at least a record of a workaround out there. When i started looking 3 weeks ago, there was only 1 reported case of this bug - in japanese, with no solution posted. Regards, Aaron. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general