Page 1 of 1

Russian language and FIVEWIN

Posted: Thu May 08, 2008 1:55 pm
by Otto
Today I had a request to make printouts and some input screens in Russian language
I copied a word from an Russian homepage Рестораны (I hope this is Russian) and tried to insert this via my Fivewin program to a database. But the result is ??????????.

Could someone please help me.
Regards,
Otto

Posted: Thu May 08, 2008 2:05 pm
by Robert Frank
Did you install Russian font in your Windows?

Posted: Thu May 08, 2008 2:09 pm
by Otto
Robert,
Thank you for your answer.

How do I install Russian font?
Can I use German and Russian in the same application?

Thanks in advance
Otto

Posted: Thu May 08, 2008 2:16 pm
by Robert Frank
I've just written letter to my coleague from Russia how to do it.
I'm waiting for an answer.

Posted: Thu May 08, 2008 2:21 pm
by Robert Frank
Look on ASCI codepage
http://www.ascii.ca/koi8-r.htm

and
http://www.ibiblio.org/sergei/Software/

Problem is to input high ascii value via keyboard :)

Posted: Thu May 08, 2008 2:57 pm
by Robert Frank
Robert Frank wrote:I've just written letter to my coleague from Russia how to do it.
I'm waiting for an answer.
Answer is, that you can play with it with database, but it isn't easy.

User interface for both of languages in one time is near impossible (he is Delphy programmer - he doesn't know FWH).

R.

Posted: Thu May 08, 2008 4:33 pm
by Otto
Hello Frank, hello Dutch,

I saw in Dutch’s program that he uses Thai characters and English. Maybe Dutch can help me.
Dutch, ขอบคุณ.

Regards,
Otto


Image

special font-characters

Posted: Thu May 08, 2008 8:34 pm
by ukoenig
Hello Otto,

I solved the problem with my font-editor.
I used Arial and then i replaced not needed characters
with the desired ones. As well it is possible to paint
own characters. Then i installed the new font with a different name.
When you need some russian-font, i can send them to you
so you can copy special characters to a different font.
When you do it this way, you have your own font.
In your program you call the font with => DEFINE FONT oFont "New Font"
My customers are very satisfied with this solution
because there is no need to use different fonts or combinations alt+ ...
As a sample i replaced the not needed chacacter
# with ALT + 0137 ( double % )
When you need a font-editor, i can send it to you.

Regards

Uwe

Posted: Thu May 08, 2008 9:06 pm
by Otto
Uwe,
thank you. You have my email adress.
Regards,
Otto

Re: Russian language and FIVEWIN

Posted: Fri May 09, 2008 5:27 am
by Rimantas
Otto wrote:Today I had a request to make printouts and some input screens in Russian language
I copied a word from an Russian homepage Рестораны (I hope this is Russian) and tried to insert this via my Fivewin program to a database. But the result is ??????????.

Could someone please help me.
Regards,
Otto
Otto ,

I'm from Lithuania , Russian neigbour . And have many troubles with Russian fonts . The main problem it seems is that Windows can't work at the same time with some codings . Multilingual here isn't solved for non Unicode programs .

If you want to use Russian fonts , try through "Regional and Language options" in "Advanced" tab to change language to "Russian" , also and in "Regional options" . After restart you will see true Рестораны ( Restaurants ... :) )

Question to Antonio - how to make FWH program Unicode ? :) ...

With best regards !

Posted: Fri May 09, 2008 7:34 am
by Otto
Rimantas,

Thank you very much for your help.
Glad to know it is Restaurant – one never knows what you copy and paste if you don’t know a language.

Did you ever tried a solution as Uwe mentioned with an own font?


Regards,
Otto

Posted: Fri May 09, 2008 12:26 pm
by Rimantas
Otto wrote:Rimantas,

Thank you very much for your help.
Glad to know it is Restaurant – one never knows what you copy and paste if you don’t know a language.

Did you ever tried a solution as Uwe mentioned with an own font?


Regards,
Otto
One moment I was playing with that . But this solution isn't good . The own font must be instaled in PC of user . So if a user will change PC , then problems will appears . But maybe it can be done with instaliation of own font from FWH application ... . The best solution - Unicode application . Sorry , but I don't know how to do that with FWH . So I leaved this question to Antonio - is any possibility to do FWH application as Unicode ?

ADDED - searching through forum I found that : Antonio's answer -

"FWH provides AnsiToWide() and WideToAnsi() so you can convert from ansi to unicode and viceversa."

I tried that with one browse :

Code: Select all

ADD COLUMN TO BROWSE oBrw DATA OemToAnsi( PREKES->PREKE_RUS ) ;
HEADER aHead[ 12 ] PICTURE "@!K" EDITABLE
and can confirm that this is working ! :) ...

So , Otto , you must add this functions in all places where you want to see true cirrilic inscriptions ... :)

Posted: Fri May 09, 2008 12:44 pm
by Otto
Rimantas,
thank you very much for your help.
Best regards,
Otto