The input was broken on Tiger as well, not just Leopard.
Hmm. Input using Japanese and Korean (and Chinese) input methods should work with CrossOver 6.2 and Tiger. Japanese is especially important to us, because we have a major distributor in that market.
Another note: I noticed that CrossOver 6.2 is currently based on
wine 0.9.34, while the latest wine version when 6.2 was released was
0.9.46, and currently the latest version is 0.9.49. Was there a
reason why you didn't use the latest version of wine? No significant
improvements or too many problems to merit the use?
Wine changes frequently. One would hope that the changes would always be for the better, but it isn't always so. Since we have to offer support, we need a stable baseline to test and tweak to maximize our level of compatibility. If we were to keep constantly up-to-date with Wine, all of our testing would be invalidated every two weeks, and we would never quite be sure what exactly we were shipping to our customers with a promise of support.
We have been following a pattern of staying on one version of Wine for two of our releases, then jumping forward to current Wine as we work on the next release. As we come closer to finalizing our next release, we'll have to freeze our version of Wine again, so it will not quite be totally cutting edge when we release, but it will be a lot further along than our current Wine.
So, 6.1 and 6.2 were both based off of 0.9.34. Don't think though, that we made no changes to Wine between those two releases. We pull in important fixes on an individual basis. Since we're some of the primary contributors to Wine, a great deal of the Wine changes between 0.9.34 and 0.9.49 were fixes we developed for 6.2 and committed to Wine along the way. CrossOver 7.0, which we hope to release in January, will be based on some version of Wine that's roughly current. We don't know exactly when we'll freeze the Wine which we'll include.
UPDATE: I just ran CrossOver with the above command and displaying
Japanese characters on Internet explorer, as well as Japanese
programs, still doesn't work correctly ('~' charcters on Japanese
characters). Same goes for Korean characters as well when LANG is
set as ko_KR.UTF-8. Here is the output that I got:
[... snip ...]
Did you try the experiment with running Notepad using the Run Command item of the Programs menu?
I had a thought as to why the command-line setting of LANG does not work, but setting your language in the International pane does. In fact, I think it explains all of your symptoms. There have been two relatively recent changes:
First, CrossOver 6.2 introduced our enhanced Dock icons for your Windows programs. This means that CrossOver no longer is the immediate parent of the Wine process which is running your Windows program. Instead, CrossOver asks the Launch Services subsystem of the OS to launch the helper application, and that application is the parent of the Wine process.
Second, Leopard changes the behavior of Launch Services. The newly launched application is not a child process of the CrossOver application process. Instead, Leopard's Launch Services communicates the launch request to a different process (launchd) and that process is the parent. One of the consequences of this change is that the new application does not inherit its environment from CrossOver. It gets a fresh, plain environment inherited from launchd, which does not include your LANG setting. (This is also why setting LANG and then invoking the "open" command won't work. The open command uses Launch Services, too.)
So, here's my new theory about what will work: if you launch CrossOver with the LANG variable, and then only use Run Command to execute Windows programs, that should work. Alternatively, you should be able to do something like:
LANG=ja_JP.UTF-8 ~/Applications/CrossOver/Internet\ Explorer.app/Contents/MacOS/CrossOver\ Helper\ with\ Feedback &
In other words, you would launch the helper application with the LANG variable directly, not CrossOver.app.
The third option of setting the environment file on
/.MacOSX/environment didn't work as well with same results.
The one thing that my new theory doesn't explain is why setting LANG in ~/.MacOSX/environment.plist didn't work. Two things: 1) I notice that you did not include "~", above. (You are not missing ".plist". That should not be included in the command from the FAQ.) 2) Did you log out and back in, after setting the variable?
Just to let you know, I have installed some patches from
http://www.x.org/wiki/XDarwin site. I also installed xterm with
unicode support on that site. None of them made any difference with
stock X11 stuff.
Everything used to worked as intended on Tiger when LANG environment
variable was set. So my only suspicion is with Leopard's X11. I
don't know how much it is affecting CrossOver as you are
implementing your own X11 solution, but Leopard's X11 is quite
broken if I dare to say so, and it seems like it is affecting
CrossOver as well to some extent.
I am aware of the problems with Leopard's X11, and that Wiki page. I've been tracking all of the issues with Leopard's X11 closely, because some of the same issues affect CrossOver. I have even worked a bit with Ben Byer of Apple to help fix stuff.
Anyway, I really doubt that Leopard's X11 is having an adverse effect on CrossOver. We ship an X11 implementation which is almost entirely self-contained, by very conscious design. The only Apple components on which we rely are quartz-wm and libXplugin, neither of which would play a role in what you're seeing. I really think my Launch Services theory is the proper explanation. Let me know what you find. Once we're sure we understand what's going on, I'll have to update the FAQ.