Click here to Skip to main content
15,887,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a Design and technical issue Pin
CPallini19-Aug-09 3:04
mveCPallini19-Aug-09 3:04 
GeneralRe: a Design and technical issue Pin
Ahmed Charfeddine19-Aug-09 3:11
Ahmed Charfeddine19-Aug-09 3:11 
AnswerRe: a Design and technical issue Pin
KarstenK19-Aug-09 2:07
mveKarstenK19-Aug-09 2:07 
GeneralRe: a Design and technical issue Pin
Ahmed Charfeddine21-Aug-09 7:35
Ahmed Charfeddine21-Aug-09 7:35 
GeneralRe: a Design and technical issue Pin
KarstenK13-Sep-09 22:46
mveKarstenK13-Sep-09 22:46 
Questionunicode problem Pin
koiava19-Aug-09 0:15
koiava19-Aug-09 0:15 
AnswerRe: unicode problem Pin
Ahmed Charfeddine19-Aug-09 0:29
Ahmed Charfeddine19-Aug-09 0:29 
AnswerRe: unicode problem Pin
«_Superman_»19-Aug-09 0:33
professional«_Superman_»19-Aug-09 0:33 
Your first code snippet is probably correct.
You may not have installed the correct language pack to view the unicode characters and so it is showing it as garbage.

In the second case, you need to add a header to indicate that the file is unicode.
In windows the following headers are added -
For UTF-8 encoding the first 3 bytes of the file must be EF BB BF.
For UNICODE encoding the first 2 bytes of the file must be FF FE.

The characters I have shown are hexadecimal.

«_Superman
I love work. It gives me something to do between weekends.

Questionpaper orientation Pin
Amin.Abdi18-Aug-09 22:40
Amin.Abdi18-Aug-09 22:40 
AnswerRe: paper orientation Pin
CPallini19-Aug-09 0:59
mveCPallini19-Aug-09 0:59 
QuestionCMFCRibbonProgressBar Pin
sashoalm18-Aug-09 21:48
sashoalm18-Aug-09 21:48 
AnswerRe: CMFCRibbonProgressBar Pin
KarstenK19-Aug-09 2:13
mveKarstenK19-Aug-09 2:13 
GeneralRe: CMFCRibbonProgressBar Pin
sashoalm19-Aug-09 2:46
sashoalm19-Aug-09 2:46 
GeneralRe: CMFCRibbonProgressBar Pin
sashoalm19-Aug-09 3:04
sashoalm19-Aug-09 3:04 
QuestionDiffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
pandit8418-Aug-09 21:35
pandit8418-Aug-09 21:35 
AnswerRe: Diffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
Rajesh R Subramanian18-Aug-09 21:44
professionalRajesh R Subramanian18-Aug-09 21:44 
AnswerRe: Diffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
sashoalm18-Aug-09 21:49
sashoalm18-Aug-09 21:49 
AnswerRe: Diffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
CPallini19-Aug-09 3:06
mveCPallini19-Aug-09 3:06 
Questiontypedef is not working properly.. Pin
Rakesh518-Aug-09 21:09
Rakesh518-Aug-09 21:09 
AnswerRe: typedef is not working properly.. Pin
KarstenK18-Aug-09 21:39
mveKarstenK18-Aug-09 21:39 
GeneralRe: typedef is not working properly.. Pin
Rakesh518-Aug-09 22:44
Rakesh518-Aug-09 22:44 
GeneralRe: typedef is not working properly.. Pin
KarstenK18-Aug-09 22:56
mveKarstenK18-Aug-09 22:56 
QuestionDetecting memory leak Pin
VCProgrammer18-Aug-09 19:28
VCProgrammer18-Aug-09 19:28 
AnswerRe: Detecting memory leak Pin
Cedric Moonen18-Aug-09 20:20
Cedric Moonen18-Aug-09 20:20 
AnswerRe: Detecting memory leak Pin
«_Superman_»18-Aug-09 20:35
professional«_Superman_»18-Aug-09 20:35 

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.