"Shachar Shemesh" wine-devel@sun.consumer.org.il wrote:
Probably LOCVAL(LOCALE_SISO3166CTRYNAME,"HE") in dlls/kernel/nls/heb.nls is wrong and "HE" should be replaced by "IL" (at least Windows 2000 reports "IL"). Windows2000 also reports LOCALE_SISO639LANGNAME = "iw". It would be a good idea to revise all fields in that file.
I'll have a look, but I don't think its related to the problem I reported here. In any case, I changed "HE" to "IL", and the warning message disappeared, but the rest of the messages remained the same. I suspect it doesn't matter one way or the other, as the match would have still been made with the language name, and chosen the right locale.
Right.
[skipped]
What reports xev? (And it would be a good idea to add setlocale(LC_CTYPE,""); at the very first lines of xev.c, recompile it, and check whether it still works).
I did not setlocale as you suggested, but I did not set LANG= anything when running it either. My environment did not contain any LANG or LC settings at all.
KeyPress event, serial 30, synthetic NO, window 0x2200001, root 0x31, subw 0x0, time 1260238500, (89,131), root:(681,151), state 0x2010, keycode 38 (keysym 0xcf9, hebrew_shin), same_screen YES, XLookupString gives 0 characters: ""
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Yes, it has the same problem as Wine. XLookupString just returns 0 characters.
Could you please try to compile and run attached program and report whether using XmbLookupString makes things work better? If it doesn't, please post its output here.
Thanks.