Multilingual

i want to make my project multilingual,for that i want to use unicode,i want to make it in inidian reginal language.
can anybody help me out how to go for unicode
thanks
jaydeepAsked:
Who is Participating?
 
MensanaCommented:
There is a lot of theory to discuss about this subject. In addition to what the VC help offers, you can read a very good article about Unicode programming at:
http://codeguru.developer.com/cpp_mfc/unicode.shtml
This article will offer you some helpful hints.
After you read this article you may have some more specific questions. We can try to solve them at that time.
Regards,
M.
0
 
gelbertCommented:
You can use CString to handle Unicode strings, just have to make sure that "_UNICODE" is defined
0
 
bbousquetCommented:
You will also need to use the tchar.h functions and data types.

Namely, you use TCHAR instead of char and all the strxxx functions become _tcsxxx. You also need to use _T("") around your text strings - TEXT("") also works fine. If you use those tricks, your app will compile with char values on non-Unicode platforms and with wchar_t values on Unicode platforms.

Using the resource's string table can also help you alot.

Good luck!
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
gelbertCommented:
Cstring encupsulates TCHAR and expands it into char or wchar depends on "_UNICODE" define
0
 
bbousquetCommented:
I know but there are times in which you can't always use CString... and you have to use those _T macros anyway.
0
 
gelbertCommented:
It is MFC board. You should be able to use CString in MFC code. ;)
0
 
bbousquetCommented:
I am totally in agreement with you.

However, those _T (or TEXT) macros are needed whether you use CString or not.
0
 
gelbertCommented:
Yes
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.