By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,369 Members | 1,131 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,369 IT Pros & Developers. It's quick & easy.

Dialog Box & Menu Fonts for Russian application

P: n/a
Hello,
I have a multilingual application, to which I am adding Russian. The prolem
is that all the dialog boxes & Menus are showing junk characters instead of
Cyrillics!!
while my window contents are working fine. I tried setting the Regional
options to Russion, but still the same problem, I also put the font of the
dialog box to be Arial Unicode MS but that didn't help.
What do I have to do to make my Dialog boxes and fonts come up in Russian?
Thanks a lot
Srishti
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Srishti,
I have a multilingual application, to which I am adding Russian. The prolemis that all the dialog boxes & Menus are showing junk characters instead ofCyrillics!! while my window contents are working fine.


Based on your description, the Russion characters which you specified in
your dialog box's control and menus will be displayed as garbled text while
the Russion text in the other window contents has no problem, please let me
know if I have misunderstood anything.

If so, I think the problem is you havn't specify the Russian language,
sub-language and codepage in the resource script before the corresponding
resource statements which show the garbled text in run-time.

In this scenario you can modify your application resource script(.rc file)
to specify the correct language, sub-language and codepage for these
resource statements in question, for example:
...
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) //if you define
the U.S. English as your projcet's Resource language
#ifdef _WIN32
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
#pragma code_page(1251)
#endif //_WIN32
...
////////////////////////////////////////////////////////////////////////////
/
//
// Dialog
//

IDD_ABOUTBOX DIALOGEX 0, 0, 235, 55
...

By the wat, I suggest you can also take a look on the following newsgroup
threads, which discussed the similar issues:
http://groups-beta.google.com/group/...ies/browse_frm
/thread/6235aba1b29e3876/d470e09d7e8b8b3e?q=LANGUAGE+LANG_RUSSIAN&rnum=4&hl =
en#d470e09d7e8b8b3e

http://groups-beta.google.com/group/...owse_frm/threa
d/da9e813e160eb214/01f44ce2f917f463?q=LANGUAGE+LANG_RUSSIAN&rnum=27&h l=en#01
f44ce2f917f463
Hope this helps!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.