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 variable > > Where do I find the documentation on this env variable? >
Hum, I do not know if there is a documentation somewhere. This variable is used by some programs in the gnu world to get the charset associated to your locale if your libc does not have nl_langinfo which can do the job (it seems that you do not have nl_langinfo). It can also be used to override the charset returned by nl_langinfo. Now, it is not used in mb support but in the ewmh support for iconv conversion from/to UTF-8 and your charset. If you have iconv you can get the list of charsets by using "iconv --list". There are multiple problems here: 1 - FInitCharset is run by fvwm even if you do not have iconv support (easy to fix). 2 - nl_langinfo may return a different charset than the "X charset". 3 - iconv is not an X function. So nl_langinfo and iconv should not be used :o) but it does not seem that there are obvious (portable) replacement (XFree >=4.0.2 has some Xutf8 functions, we may try to use if available). I will try to fix these problems progressively. I begin to understand the X i18n stuff. Any way these problems are small and these concern only applications with ewmh support (but these should be fixed). Olivier -- 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]