Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WINE and Russian
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Aciel
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2004
Posts: 91

PostPosted: Tue Oct 26, 2004 6:19 pm    Post subject: WINE and Russian Reply with quote

I thought I'd ask you all first, since you all are probably the most familiar with this.

How do I add Russian language support to WINE? I'm trying to learn Russian with a Windows application called ByHeart.

Thanks in advance,
John
Back to top
View user's profile Send private message
Dantist
n00b
n00b


Joined: 10 Oct 2004
Posts: 35
Location: Moscow, MSU

PostPosted: Tue Oct 26, 2004 7:15 pm    Post subject: Reply with quote

Actually there's no trouble - just edit your wine.conf to add russian fonts, and set the encoding to koi8-r (or cp1251, which - depends on application). If i'm not right, dont beat me :), i havent used wine for a couple of years...
Back to top
View user's profile Send private message
Aciel
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2004
Posts: 91

PostPosted: Wed Oct 27, 2004 4:44 pm    Post subject: Reply with quote

I can't figure out where I set the encoding. I've got the following lines for fonts:

;Read the Fonts topic in the Wine User Guide before adding aliases
;See a couple of examples for russian users below
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"

;; default TrueType fonts with russian koi8-r encoding
"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
; default cyrillic bitmap X fonts
"Default" = "-cronyx-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-cronyx-times-"
"DefaultSansSerif" = "-cronyx-helvetica-"

Somehow I'm guessing I can't have multiple entries for Default in there.

In any case, I want the program I'm trying to run to allow both Russian and English; so how can I tell WINE to use multiple encodings?

Thanks again,
--John
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Wed Oct 27, 2004 7:36 pm    Post subject: Reply with quote

English chars are US-ASCII, 7-bit area, equal for ALL locales. All other national chars falls into 8-bit area (128-255) for 1-byte locales and into 0x0400 (Cyrillic subset) area for Unicode.

This means --- you'll always have both, Russian and English, or German and English. But --- if you want to have three of them at one time, Russian + German + English --- impossible with 1-byte locales, you should use Unicode.

About wine --- keep *-koi8-r- fonts. And as far as I know Wine looks into your locale, so --- you need to set it to ru_RU.KOI8-R.

P.S. I'm not a guru with wine, I'm using Win4Lin and VMware.
Back to top
View user's profile Send private message
4nykey
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 176

PostPosted: Wed Oct 27, 2004 11:36 pm    Post subject: Reply with quote

Yeah, locale is crucial for running non-english apps in wine.

E.g if I want rip say german subs using win32 proggie, then I run
> LC_ALL=de_DE wine subrip.exe
parts of interface are in german then, but it shows all those umlauts and stuff correctly and saves resulting subs in cp1252, which I can convert then to utf-8, otherwise it messes encoding completely.

So running the program with LC_ALL=ru_RU should do the trick.
Back to top
View user's profile Send private message
Balancer
Guru
Guru


Joined: 04 Jun 2004
Posts: 465

PostPosted: Sun May 22, 2005 8:23 pm    Post subject: Reply with quote

Как в wine осуществлять русский _ввод_? Запускаю IE6, с русскими шрифтами всё в порядке, но если переключаюсь на русскую раскладку (в иксах), то при вводе нет никакой реакции, курсор стоит на месте. Системная локаль - UTF-8
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum