Click here to Skip to main content
15,912,021 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: problem in communication with UDP Pin
Mark Salsbery20-Jul-07 6:01
Mark Salsbery20-Jul-07 6:01 
AnswerRe: problem in communication with UDP Pin
whiteclouds22-Jul-07 17:32
whiteclouds22-Jul-07 17:32 
GeneralRe: problem in communication with UDP Pin
Mark Salsbery23-Jul-07 5:02
Mark Salsbery23-Jul-07 5:02 
QuestionUTF problem Pin
Suneet.0319-Jul-07 21:52
Suneet.0319-Jul-07 21:52 
AnswerRe: UTF problem Pin
Cedric Moonen19-Jul-07 22:15
Cedric Moonen19-Jul-07 22:15 
GeneralRe: UTF problem Pin
Matthew Faithfull19-Jul-07 22:18
Matthew Faithfull19-Jul-07 22:18 
GeneralRe: UTF problem Pin
Suneet.0319-Jul-07 22:26
Suneet.0319-Jul-07 22:26 
GeneralRe: UTF problem Pin
Matthew Faithfull19-Jul-07 23:00
Matthew Faithfull19-Jul-07 23:00 
If you're using US/English Windows then you'll want to use UNICODE for your program rather than setting up for a specific code page. Have a look at MultiByteToWideChar[^] you'll need to find out which code page was used to create the text file and put that actual value into the first parameter instead of one the standard ones. I gather Hindi is normally 1137. Make sure your code is fully UNICODE compliant ( _T("") macros for the text and TCHAR or WCHAR or wchar_t everywhere and wcslen or tcslen type CLibrary calls instead of strlen, UNICODE and _UNICODE predefined as symbols for the project. )
Remember that whenever you see the characters, even in the debugger, you're seeing them translated in one way or another so don't worry if the Hindi doesn't show properly everywhere as long as it works when your code puts it on the screen.

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: UTF problem Pin
Suneet.0319-Jul-07 23:22
Suneet.0319-Jul-07 23:22 
GeneralRe: UTF problem Pin
Matthew Faithfull20-Jul-07 0:34
Matthew Faithfull20-Jul-07 0:34 
GeneralRe: UTF problem Pin
Suneet.0322-Jul-07 23:05
Suneet.0322-Jul-07 23:05 
GeneralRe: UTF problem Pin
Matthew Faithfull23-Jul-07 3:20
Matthew Faithfull23-Jul-07 3:20 
Questionusing MatchDocTypa() in mfc appln.. Pin
mirraa19-Jul-07 21:46
mirraa19-Jul-07 21:46 
QuestionPostMessage() inside MidiInProc() Pin
rp_suman19-Jul-07 21:27
rp_suman19-Jul-07 21:27 
AnswerRe: PostMessage() inside MidiInProc() Pin
Shouvik Das19-Jul-07 21:45
Shouvik Das19-Jul-07 21:45 
GeneralRe: PostMessage() inside MidiInProc() Pin
rp_suman19-Jul-07 22:20
rp_suman19-Jul-07 22:20 
AnswerRe: PostMessage() inside MidiInProc() Pin
tanvon malik19-Jul-07 21:48
tanvon malik19-Jul-07 21:48 
GeneralRe: PostMessage() inside MidiInProc() Pin
rp_suman19-Jul-07 22:14
rp_suman19-Jul-07 22:14 
QuestionVC++ Q/A Pin
Jhony george19-Jul-07 21:01
Jhony george19-Jul-07 21:01 
AnswerRe: VC++ Q/A Pin
Shouvik Das19-Jul-07 21:32
Shouvik Das19-Jul-07 21:32 
AnswerRe: VC++ Q/A Pin
Jonathan [Darka]19-Jul-07 21:59
professionalJonathan [Darka]19-Jul-07 21:59 
GeneralRe: VC++ Q/A Pin
Jhony george19-Jul-07 22:13
Jhony george19-Jul-07 22:13 
AnswerRe: VC++ Q/A Pin
Hamid_RT31-Jul-07 19:22
Hamid_RT31-Jul-07 19:22 
QuestionProblem in Client Server Programming Pin
Abhijit A19-Jul-07 20:56
Abhijit A19-Jul-07 20:56 
AnswerRe: Problem in Client Server Programming Pin
led mike20-Jul-07 4:44
led mike20-Jul-07 4:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.