Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Win32 (http://www.go4expert.com/forums/win32/)
-   -   read other language strings and display (http://www.go4expert.com/forums/read-language-strings-display-t17995/)

ceus 15Jun2009 10:57

read other language strings and display
 
Hi all,
I am using Visual Studio 2005, i am new to MFC and i am trying to write a simple program to read a string (of french or chineese or any other language) from a file and display it on AfxMessageBox()
How can i do this..what all i need to know in this context
what are the functions available to encode or decode a string to UTF16 ??

What exactly i am looking for is
language: in English when converted to French becomes ----langue:
and i know langue: is stored in file and i want to read and display in AfxMessageBox() how can i do this ??? and

say i know the UTF-16 encoded value of langue: is stored in a file in hex.. and now i want to read that hex value and decode that as langue: how can i do this ??

Please give me some basic idea how all these encoding and decoding to UTF-16 is done and how to read write a UTF-16 encoded string....

thanks in advance.. :)


All times are GMT +5.5. The time now is 09:53.