|
| Russian characters in a BP 7.0 real mode program |
 |
21 Dec 2006 08:16:04 -0800 |
Any idea on how to get Russian characters to the user screen and printer. I
have Russian translations for all the English
strings used in my program. I would like to keep the code and insert the Russian
characters.
|
| Post Reply
|
| Re: Russian characters in a BP 7.0 real mode program |
 |
Thu, 21 Dec 2006 19:24:19 +000 |
Kevin Young a écrit:
> Any idea on how to get Russian characters to the user screen and printer.
I have Russian translations for all the English
> strings used in my program. I would like to keep the code and insert the
Russian characters.
>
> Thanks
In principle all you have to do is to use a DOS (or Windows DOS emulation) with
a Russian Codepage: I use french and the principle is the same for accented
characters which exist in french and not in english.
For a DOS emulation in Windows 98se:
In config.sys I have:
device=c:\windows\COMMAND\display.sys con=(ega,,1)
Country=033,850,c:\windows\COMMAND\country.sys
in autoexec.bat I have
mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
mode con codepage select=850
033 is france, 850 is codepage for french
You have to find the numbers for russian,
but probably you know if you already work sometimes in russian
Maurice
--
Maurice Lombardi
Laboratoire de Spectrometrie Physique,
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex FRANCE
Tel: 33 (0)4 76 51 47 51
Fax: 33 (0)4 76 63 54 95
mailto:Maurice.Lombardi@ujf-grenoble.fr
|
| Post Reply
|
| Re: Russian characters in a BP 7.0 real mode program |
 |
27 Dec 2006 14:17:28 -0800 |
Thanks for your response Maurice,
I am doing this and it works fine for text mode but
when I try to write to the screen in graphics mode I get the
extended english characters. Of course my outtext() statements
reference the characters from ascii 128-255 as this is where they are at in the
russian code page (0-127 is the standard english set). I think I have to get a
russian font file and register it with my program. I am investigating that now.
Any wisdom or thoughts?
Kevin
Maurice Lombardi <Maurice.Lombardi@ujf-grenoble.fr> wrote:
>
>
>Kevin Young a écrit:
>> Any idea on how to get Russian characters to the user screen and
printer. I have Russian translations for all the English
>> strings used in my program. I would like to keep the code and insert
the Russian characters.
>>
>> Thanks
>
>In principle all you have to do is to use a DOS (or Windows DOS emulation)
with
>a Russian Codepage: I use french and the principle is the same for accented
>characters which exist in french and not in english.
>
>For a DOS emulation in Windows 98se:
>
>In config.sys I have:
>
>device=c:\windows\COMMAND\display.sys con=(ega,,1)
>Country=033,850,c:\windows\COMMAND\country.sys
>
>in autoexec.bat I have
>
>mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
>mode con codepage select=850
>
>033 is france, 850 is codepage for french
>You have to find the numbers for russian,
>but probably you know if you already work sometimes in russian
>
>Maurice
>
>--
> Maurice Lombardi
>Laboratoire de Spectrometrie Physique,
>Universite Joseph Fourier de Grenoble, BP87
>38402 Saint Martin d'Heres Cedex FRANCE
>Tel: 33 (0)4 76 51 47 51
>Fax: 33 (0)4 76 63 54 95
>mailto:Maurice.Lombardi@ujf-grenoble.fr
>
|
| Post Reply
|
|
|
|
|
|
|
|
|
|