Board index » Visual Studio » Hindi Codepage

Hindi Codepage

Visual Studio226
Hello all,

I don't know if this is the right place for this question or not.

OK I need to translate my MFC application to Hindi.

(I am goingto use www.codeproject.com/tools/localizerc.asp this tool

for the purpose).



Now MS says that there is no codepage for Hindi.....etc...Armenian &

Georgian. When I put 0 or 1 for the code page in the rc file I am getting

errors in the VC++ when I open the RC or when I try to compile the satellite

dll:

0: Code page is not an integer

1: Invalid Code page.



in the line:

#pragma code_page(0)



What shall be the codepage value for Hindi. I think I need to put something

there, right?

Thanks a lot for any help

Srishti


-
 

Re:Hindi Codepage

Hi, Srishti,

From this article:

www.microsoft.com/globaldev/reference/oslocversion.mspx">www.microsoft.com/globaldev/reference/oslocversion.mspx

we can see that the codepage for Hindi was involved in Windows Vista;

however the code page does not exist in earlier OSes. It seems that only

Windows XP Starter Edition has it but this edition seems never existed in

the market.



Since this is a issue of product limitation, I recommend that you give

Microsoft feedback via:

connect.microsoft.com">connect.microsoft.com

Your void will be heared by the product team and hope that this feature

will be included in the next release of service pack.



If you have any other questions or concerns, please feel free to let me

know.

Have a good day!



Best regards,

Charles Wang

Microsoft Online Community Support

=====================================================

Get notification to my posts through email? Please refer to:

msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx">msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx

ications



If you are using Outlook Express, please make sure you clear the check box

"Tools/Options/Read: Get 300 headers at a time" to see your reply promptly.





Note: The MSDN Managed Newsgroup support offering is for non-urgent issues

where an initial response from the community or a Microsoft Support

Engineer within 1 business day is acceptable. Please note that each follow

up response may take approximately 2 business days as the support

professional working with you may need further investigation to reach the

most efficient resolution. The offering is not appropriate for situations

that require urgent, real-time or phone-based interactions or complex

project analysis and dump analysis issues. Issues of this nature are best

handled working with a dedicated Microsoft Support Engineer by contacting

Microsoft Customer Support Services (CSS) at

msdn.microsoft.com/subscriptions/support/default.aspx.">msdn.microsoft.com/subscriptions/support/default.aspx.

======================================================

When responding to posts, please "Reply to Group" via

your newsreader so that others may learn and benefit

from this issue.

======================================================

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

======================================================









-

Re:Hindi Codepage

Quote
Now MS says that there is no codepage for Hindi.

True. Hindi (and all other indic languages) are only supported thru Unicode

in Windows.



Quote
When I put 0 or 1 for the code page in the rc file I am getting

errors in the VC++ when I open the RC or when I try to compile the

satellite dll:

Save the RC file as UTF-16 with BOM and there is no need to pass a code page

to rc.exe, and you can also delete the #pragma code_page



To edit the .RC in visual mode you need to use Visual Studio 2005 (that is

the first version where the resource editor supports Unicode).



There are still bugs, one of them (plus work-around) is explained here:

http://www.mihai-nita.net/article.php?artID" rel="nofollow" target="_blank">www.mihai-nita.net/article.php=20051030a

But overall it works.



If you don't work with VS2005, the only way (unfortunately) is to edit the

coordinates manualy (in Notepad or other editor that supports Unicode),

compile, and check at runtime. Quite tedious.





--

Mihai Nita [Microsoft MVP, Windows - SDK]

www.mihai-nita.net">www.mihai-nita.net

------------------------------------------

Replace _year_ with _ to get the real email

-