Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Sorry to hear you're still struggling. You will need the font used on the dialog to contain Hindi, e.g. Arial UNICODE MS. To determine if this is really the problem you need to check the values of the wide characters you're actually writing out. Then look them up against the font you're using in the Windows Character Map tool. Accessories/System Tools/Character Map on the Windows Start Menu. This will let you see what's in the font for that code point. If the font is not the issue and the code points are wrong then you need to take one step back and look again at how you get those character values. you could even try examining the original file in a hex editor to see if it contains valid character values that correspond to the characters you're expecting to see. It is possible that the byte-order of the 16bit words has been reversed, depending on where the file comes from and this could cause the characters to appear as rubbish. For example U+0936 (Hexidecial) is श but U+3609 (Hexidecimal) is missing even fom Arial UNICODE MS and would probably result in a blank or a square box.
You could always post some of the original file if you can't make any sense of it.

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

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 
QuestiongetSubItemRect...?? Pin
sheshidar19-Jul-07 20:45
sheshidar19-Jul-07 20:45 
QuestionRe: getSubItemRect...?? Pin
David Crow20-Jul-07 3:31
David Crow20-Jul-07 3:31 
QuestionCreate xml file Pin
Maynka19-Jul-07 20:43
Maynka19-Jul-07 20:43 
AnswerRe: Create xml file Pin
CPallini19-Jul-07 22:18
mveCPallini19-Jul-07 22:18 

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.