OK. i'll file a bug and let you know how it goes. Dan Espen wrote: > > Keith Spainhour <[EMAIL PROTECTED]> writes: > > OK, Dan, thanks! Would the FVWM organization like to file this > > bug with Sun? Ya'll may get a better response than me. If not, > > I'll file a bug and I'll send ya'll the bug number. > > The FVWM organization consists of anyone willing to help. > > If you are willing, then, please file the bug report. > > > Let me know, > > > > Dan Espen wrote: > > > > > > Keith Spainhour <[EMAIL PROTECTED]> writes: > > > > Ah!!! I found it!! > > > > > > > > I need to do the following: > > > > > > > > unsetenv LANG > > > > unsetenv LC_CTYPE > > > > > > > > Then it works!!! > > > > > > > > So, where do we go from here? Do I need to persue this with Sun > > > > or would you guys be a better choice? > > > > > > > > Are we sure this is a Java issue? > > > > > > I've done some more testing. > > > I'm using Solaris 8. > > > > > > I used "xprop" to look at the property WM_NAME which is where the title > > > comes from. > > > > > > Without LANG set, Java sets WM_NAME like this: > > > WM_NAME(COMPOUND_TEXT) = 0x54, 0x68, 0x69, 0x73, ... > > > > > > With LANG set, Java sets WM_NAME like this: > > > WM_NAME(COMPOUND_TEXT) = 0x1b, 0x28, 0x42, 0x54, ... > > > > > > The 0x54 is the first character of the windows title, an uppercase T. > > > > > > So with LANG set, the characters "0x1b, 0x28, 0x42," ("Esc ( B") are > > > added to the window title. > > > > > > If Fvwm is compiled with multibyte support, that string is passed thru > > > XmbTextPropertyToTextList() which removes the "Esc ( B" prefix. > > > > > > I think this should be persued with Sun. So far I see 2 issues: > > > > > > I don't see why fvwm should need to support Multibyte characters when > > > the language is explicitly set to en_US, or fr_CA, neither of these > > > languages are multibyte. > > > > > > I don't think its correct for Java to be setting the text property to > > > COMPOUND_TEXT when LANG isn't set. Normally the property on a title > > > would be STRING. > > > > > > > Dan Espen wrote: > > > > > > > > > > Keith Spainhour <[EMAIL PROTECTED]> writes: > > > > > > This is my fault. I sent you the wrong test source code. I'm > > > > > > runnin > > g > > > > > > a number of test cases for Sun. Anyway attached is the correct > > > > > > sourc > > e > > > > > > code that produced the image listed in my previous email. > > > > > > > > > > Whats your $LANG setting? > > > > > > > > > > If I "unset LANG", the title is fine. > > > > > If I set it to "fr_CA", or even "en_US" I see the problem. > > > > > > > > > > Why does Java think that "en_US" needs a multi-byte title? > > > > > > > > > > -- > > > > > Dan Espen > > > > > 444 Hoes Lane Room RRC 1C-214 E-mail: [EMAIL PROTECTED] > > > > > Piscataway, NJ 08854 Phone: (732) 699-5570 > > > > > > > > -- > > > > Keith Spainhour 919-392-5673 > > > > Software Engineer [EMAIL PROTECTED] > > > > Cisco Systems http://www.cisco.com > > > > -- > > > > 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] > > > > > > -- > > > Dan Espen > > > 444 Hoes Lane Room RRC 1C-214 E-mail: [EMAIL PROTECTED] > > > Piscataway, NJ 08854 Phone: (732) 699-5570 > > > > -- > > Keith Spainhour 919-392-5673 > > Software Engineer [EMAIL PROTECTED] > > Cisco Systems http://www.cisco.com > > -- > Dan Espen > 444 Hoes Lane Room RRC 1C-214 E-mail: [EMAIL PROTECTED] > Piscataway, NJ 08854 Phone: (732) 699-5570
-- Keith Spainhour 919-392-5673 Software Engineer [EMAIL PROTECTED] Cisco Systems http://www.cisco.com -- 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]