Olivier Chapuis <[EMAIL PROTECTED]> writes:
> On Fri, Feb 01, 2002 at 11:16:18AM -0500, Dan Espen wrote:
> > Olivier Chapuis <[EMAIL PROTECTED]> writes:
> > > On Thu, Jan 31, 2002 at 09:41:39PM -0500, Dan Espen wrote:
> > > > 
> > > > I have multibyte enabled.
> > > > With the latest CVS I get this warning:
> > > > 
> > > > [FVWM][FInitCharset]: WARN -- Cannot get charset with CHARSET env varia
> > > > Where do I find the documentation on this env variable?
...
> > I looked at the various codesets iconv supports to try to figure out
> > a default value.
> > 
> > It looks like if  CHARSET is not set,  is should default to ISO_8859-1
> > (on Linux).
> > 
> > On Solaris and AIX, the default should be ISO8859-1.
> > 
> > On HPUX, it looks like it should be either "amere", "iso81", or "engle".
> >

> How to set this default? Do we have "cpp variables" which allows to write
> down somthing like:
> 
> #ifdef SYS_A
> #define DEFAULT_CHARSET   "FOO"
> #endif
> #ifdef SYS_B
> #define DEFAULT_CHARSET    "XYZ"
> #endif
> 
> ...etc in libs/defaults.h ?

Run configure tests using iconv trying to find the one that works?

> > I'd be happy if it just didn't print any warning.
> 
> Why are you against such warning? This may help to debug
> the (experimental) iconv stuff. For example, with the error
> message you send to me I can see that you do not have
> nl_langinfo and  that no iconv conversion will be performed
> at all. On the other hands, we can document our use
> of the CHARSET variable. But as our UTF-8 support is not
> finalized this should wait a bit. Any way, if you really want
> I can suppress such warnings now or only in the future beta
> version of 2.5.x.

I just didn't want to see the  warning generated in official releases,
we'll get loads of email about it.  As long as 2.5.x is an unsupported
release, its OK.

-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: [EMAIL PROTECTED]
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to