Sunday, February 17, 2008

Russian input does not work in programs launched with Wine

I use en_US.UTF-8 locale on my laptop (openSuSe 10.3), but sometimes I need windows programs with russian input to be launched with wine.

I wrap each exe with sh file similar to the following:

export LC_ALL=ru_RU.UTF-8
wine BMCity.exe

One very important step is to create the following link to make ru_RU.UTF-8 locale available to wine.

sudo ln -s /usr/lib/locale/ru_RU.utf8 /usr/share/X11/locale/ru_RU.UTF-8