Discussion:
russian language support
(too old to reply)
Kjartan Furnes
2003-09-02 16:18:37 UTC
Permalink
Hi,

I have an xp image with a vb 6 application that needs to display russian
languages.

I have added the russian language support in TD. The standard vb label is
displayed with russian text, but a C++ ActiveX is displayed with ????
instead of letters.

Can anyone help me with this.. it is kind of urgent.

thanks
Slobodan Brcin
2003-09-02 16:58:05 UTC
Permalink
Post by Kjartan Furnes
Hi,
I have an xp image with a vb 6 application that needs to display russian
languages.
I have added the russian language support in TD. The standard vb label is
displayed with russian text, but a C++ ActiveX is displayed with ????
instead of letters.
Can anyone help me with this.. it is kind of urgent.
thanks
Hi Kjartan,

I'm using Cyrillic.

Try adding all needed fonts (bold, italic variants as well).

And appropriate code page.

Keep adding until it works.

First make backup, so you could determine what is needed.


Best regards,
Slobodan Brcin
Kjartan Furnes
2003-09-03 07:43:19 UTC
Permalink
Hi..

I have come a little further. If I set the caption of the activeX in the
properties box everything works fine. But if i set the caption with code I
get ?? instead of russian text.

My code looks like this

Multi1(5).Functiontype = "Ù×Á"
Multi1(5).Functiontype2 = "Ù×ËÕ"
Post by Slobodan Brcin
Post by Kjartan Furnes
Hi,
I have an xp image with a vb 6 application that needs to display russian
languages.
I have added the russian language support in TD. The standard vb label is
displayed with russian text, but a C++ ActiveX is displayed with ????
instead of letters.
Can anyone help me with this.. it is kind of urgent.
thanks
Hi Kjartan,
I'm using Cyrillic.
Try adding all needed fonts (bold, italic variants as well).
And appropriate code page.
Keep adding until it works.
First make backup, so you could determine what is needed.
Best regards,
Slobodan Brcin
Slobodan Brcin
2003-09-03 10:41:32 UTC
Permalink
Post by Kjartan Furnes
I have come a little further. If I set the caption of the activeX in the
properties box everything works fine. But if i set the caption with code I
get ?? instead of russian text.
My code looks like this
Multi1(5).Functiontype = "Ù×Á"
Multi1(5).Functiontype2 = "Ù×ËÕ"
This is unreadable to me, and I don't know if VB can support Unicode in code
because C++ does not.
Try entering Unicode values like numbers (2 byte values per character) not
like text.



Check in your code that you are using Unicode. If not, you need appropriate
code pages.

Also are you using standard fonts or some custom fonts for Russian?


Best regards,
Slobodan
Slobodan Brcin
2003-09-03 11:02:03 UTC
Permalink
I must try if NG support Unicode.
Post by Slobodan Brcin
This is unreadable to me, and I don't know if VB can support Unicode in code
because C++ does not.
My name is: ???????? ?????

If you can read this than it supports Unicode.

Best regards,
Slobodan
Slobodan Brcin
2003-09-03 11:11:56 UTC
Permalink
Sorry all for this testing,

Try 2,
Post by Slobodan Brcin
This is unreadable to me, and I don't know if VB can support Unicode in code
because C++ does not.
My name is: ???????? ?????

If you can read this than it supports Unicode.

Best regards,
Slobodan
Slobodan Brcin
2003-09-03 11:16:52 UTC
Permalink
Sorry all for this testing,

Try 2,
Post by Slobodan Brcin
This is unreadable to me, and I don't know if VB can support Unicode in code
because C++ does not.
My name is: СлПбПЎаМ БрчОМ

If you can read this than this is Unicode, and everyone should be able to see this.

Best regards,
Slobodan
Kjartan Furnes
2003-09-04 10:02:18 UTC
Permalink
This seams to be a generall vb problem. If i try to set the caption to a
russian text with code I get ??? instead of the letters. This works fine on
my development system, XP Proffesional
Post by Slobodan Brcin
Post by Kjartan Furnes
I have come a little further. If I set the caption of the activeX in the
properties box everything works fine. But if i set the caption with code I
get ?? instead of russian text.
My code looks like this
Multi1(5).Functiontype = "Ù×Á"
Multi1(5).Functiontype2 = "Ù×ËÕ"
This is unreadable to me, and I don't know if VB can support Unicode in code
because C++ does not.
Try entering Unicode values like numbers (2 byte values per character) not
like text.
Check in your code that you are using Unicode. If not, you need appropriate
code pages.
Also are you using standard fonts or some custom fonts for Russian?
Best regards,
Slobodan
Slobodan Brcin
2003-09-04 11:32:43 UTC
Permalink
Post by Kjartan Furnes
This seams to be a generall vb problem. If i try to set the caption to a
russian text with code I get ??? instead of the letters. This works fine on
my development system, XP Proffesional
I don't know if I was clear, I was never able to explain what I think even
on my native language.

Let me try again.
Post by Kjartan Furnes
If I set the caption of the activeX in the properties box everything works
fine.
This means that you have installed all required fonts.
And that ActiveX control is probably using Unicode.
Post by Kjartan Furnes
Multi1(5).Functiontype = "Ù×Á"
Multi1(5).Functiontype2 = "Ù×ËÕ"
I don't see any Cyrillic or anything recognizable.
Are you sure that you can use Unicode from VB and that it can be compiled.
Or do you know what Unicode is?
The easiest way to test this is to type in VB code in few languages, if you
can read this than it is Unicode.


If you don't use Unicode. You need to include appropriate code page from TD.

Also font that you are using is this some standard windows font, or this
font is some local font you use?

Best regards,
Slobodan
Kjartan Furnes
2003-09-04 17:34:55 UTC
Permalink
Hi

I am not using unicode.

I have added all the fonts in the russian component.

I have almost solved this now. In regional settings there is a combobox that
is the language for non-unicode program. If this is set to russian everyting
should be fine, but i can't set it to russian unless i have user interface
language to russian as well.

Any ideas ?
Post by Slobodan Brcin
Post by Kjartan Furnes
This seams to be a generall vb problem. If i try to set the caption to a
russian text with code I get ??? instead of the letters. This works fine
on
Post by Kjartan Furnes
my development system, XP Proffesional
I don't know if I was clear, I was never able to explain what I think even
on my native language.
Let me try again.
Post by Kjartan Furnes
If I set the caption of the activeX in the properties box everything works
fine.
This means that you have installed all required fonts.
And that ActiveX control is probably using Unicode.
Post by Kjartan Furnes
Multi1(5).Functiontype = "Ù×Á"
Multi1(5).Functiontype2 = "Ù×ËÕ"
I don't see any Cyrillic or anything recognizable.
Are you sure that you can use Unicode from VB and that it can be compiled.
Or do you know what Unicode is?
The easiest way to test this is to type in VB code in few languages, if you
can read this than it is Unicode.
If you don't use Unicode. You need to include appropriate code page from TD.
Also font that you are using is this some standard windows font, or this
font is some local font you use?
Best regards,
Slobodan
Slobodan Brcin
2003-09-04 18:28:18 UTC
Permalink
Post by Kjartan Furnes
I have added all the fonts in the russian component.
Too bad that you don't use windows fonts. In out contry this is a big
problem with programs and documents that are using YUSCI fonts.

If you have used windows fonts, only simple adding of codepage would solve
all your problems.
This way I don't know the solution, but probably someone else does.
Post by Kjartan Furnes
I have almost solved this now. In regional settings there is a combobox that
is the language for non-unicode program. If this is set to russian everyting
should be fine, but i can't set it to russian unless i have user interface
language to russian as well.
Any ideas ?
Just try to add following components:

Russian Language Support - There are many settings you can set
(probably one that you need)
Language: Russian


Best regards,
Slobodan
Kjartan Furnes
2003-09-04 18:46:35 UTC
Permalink
I use the tahoma font...
Post by Slobodan Brcin
Post by Kjartan Furnes
I have added all the fonts in the russian component.
Too bad that you don't use windows fonts. In out contry this is a big
problem with programs and documents that are using YUSCI fonts.
If you have used windows fonts, only simple adding of codepage would solve
all your problems.
This way I don't know the solution, but probably someone else does.
Post by Kjartan Furnes
I have almost solved this now. In regional settings there is a combobox
that
Post by Kjartan Furnes
is the language for non-unicode program. If this is set to russian
everyting
Post by Kjartan Furnes
should be fine, but i can't set it to russian unless i have user interface
language to russian as well.
Any ideas ?
Russian Language Support - There are many settings you can set
(probably one that you need)
Language: Russian
Best regards,
Slobodan
Slobodan Brcin
2003-09-04 18:58:36 UTC
Permalink
Post by Kjartan Furnes
I use the tahoma font...
Then I don't know what else you can do.

Have you tried like I sugested to add components?
And to make settings in TD?

Russian Language Support - There are many settings you can set
Language: Russian


Best regards,
Slobodan
Boris Tkach
2003-09-05 04:58:45 UTC
Permalink
I had the same problem Russian letters are displayed with ????
I find that my configuration is unable to use true type fonts.
So I put Microsoft Sans Serif font with Russian letters and force
all controls to use this only font. The application is VC++.

Loading...