You are not logged in.

#1 2009-05-29 15:36:46

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Non-english input in Wine[SOLVED]

Hi,

Non-english input characters in Windows apps under Wine appear either as blanks or as question marks. Any how-to is welcome smile .

Meanwhile, I've googled an interesting advice (for Cyrillic):

$ sudo ln -s en_US.UTF-8 /usr/share/X11/locale/ru_RU.UTF-8

The most interesting part is a mystery: where am I supposed to create such a link?

Last edited by Llama (2009-05-29 19:23:46)

Offline

#2 2009-05-29 18:32:48

Peanut
Member
From: Norway
Registered: 2009-05-24
Posts: 99

Re: Non-english input in Wine[SOLVED]

I believe that command would make /usr/share/X11/locale/ru_RU.UTF-8 a symlink to /usr/share/X11/locale/en_US.UTF-8; the first argument is the target of the link, the second is where to place it. As far as I know, if the first argument is not an absolute path, the system will assume that the path is relative to where you place the link (/usr/share/X11/locale/).

In other words, that command would overwrite the russian UTF-8 locale with an english UTF-8 locale. I can't see any reason why that should fix anything.

[EDIT]
A quick google for "wine cyrillic", returned this as the first hit:
http://www.nabble.com/Question-about-us … 77130.html

Have you:
1) Installed and enabled fonts that support cyrillic characters?
2) Tried using other encodings than UTF8?

Last edited by Peanut (2009-05-29 18:39:33)

Offline

#3 2009-05-29 19:22:14

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: Non-english input in Wine[SOLVED]

Peanut wrote:

In other words, that command would overwrite the russian UTF-8 locale with an english UTF-8 locale. I can't see any reason why that should fix anything.

For one thing, the ln command refused to overwrite anything smile . Yes, I've been curious about the reason.

Peanut wrote:

Have you:
1) Installed and enabled fonts that support cyrillic characters?

(1) ru_RU.UTF-8 alongside en_US.UTF-8:

$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE=C
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

Peanut wrote:

Have you:
2) Tried using other encodings than UTF8?

(2) No, I avoid non-UTF locales.

Luckily, in this day and age the solution turned out to be fairly straightforward:

Starting sequence:

LANG=ru_RU.UTF-8 wine ...

Aliasing, they say, is also possible smile :

echo "alias wine='LANG=ru_RU.UTF-8 wine'" >> ~/.bashrc
echo "alias wine='LANG=ru_RU.UTF-8 wine'" >> ~/.profile

Offline

Board footer

Powered by FluxBB