Hi,
I have ported a Vietnamese keyboard application from linux to cygwin, but it can't run as I want. When it ran, it warned that " Cannot load either en_US.UTF-8 or vi_VN.UTF-8 lo. To use this program you must have one of these locales installed". Despite it ran but it didn't have any effect on keyboard.
I want to ask you that "Is cygwin/x support xim?".
At least there are some xim server for Japanese, kinput: http://www.on.cs.keio.ac.jp/~maru/cygwin-xfree-jp-supplement/ imeproxy: http://sourceforge.jp/projects/imeproxy/
Also I posted xim server which uses Windows IME. http://www.cygwin.com/ml/cygwin-xfree/2005-01/msg00066.html http://www.cygwin.com/ml/cygwin-xfree/2005-01/msg00067.html
I'm not sure but the last statements I heard told there are only very few locales supported in cygwin.
Maybe you should try using the X11 locale support in the application. Use -DX_LOCALE when compiling and see /usr/X11R6/include/X11/Xlocale.h
Cygwin's locale support is limited, so X is compiled with X Locale. There are following lines in cygwin.cf #define StandardDefines -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE \ -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE ... So, if use Imakefile, imake adds -DX_LOCALE.
I can find vi_VN.tcvn and vi_VN.viscii in xc/nls, but not find vi_VN.UTF-8 though. I don't know about Vietnamese locale well,
but maybe someone have to write vi_VN.UTF-8.
zakki. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp
