Click here to Skip to main content
15,905,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to use c++ to find prime palindrome Pin
molesworth19-Aug-09 4:09
molesworth19-Aug-09 4:09 
AnswerRe: how to use c++ to find prime palindrome Pin
CPallini19-Aug-09 4:10
mveCPallini19-Aug-09 4:10 
AnswerRe: how to use c++ to find prime palindrome Pin
Michael Schubert19-Aug-09 4:17
Michael Schubert19-Aug-09 4:17 
GeneralRe: how to use c++ to find prime palindrome Pin
ayeosq19-Aug-09 14:40
ayeosq19-Aug-09 14:40 
GeneralRe: how to use c++ to find prime palindrome Pin
Michael Schubert19-Aug-09 21:36
Michael Schubert19-Aug-09 21:36 
GeneralRe: how to use c++ to find prime palindrome Pin
ayeosq19-Aug-09 23:56
ayeosq19-Aug-09 23:56 
Questionunicode Pin
koiava19-Aug-09 1:31
koiava19-Aug-09 1:31 
AnswerRe: unicode Pin
«_Superman_»19-Aug-09 1:47
professional«_Superman_»19-Aug-09 1:47 
AnswerRe: unicode Pin
CPallini19-Aug-09 1:56
mveCPallini19-Aug-09 1:56 
JokeRe: unicode Pin
Rajesh R Subramanian19-Aug-09 2:37
professionalRajesh R Subramanian19-Aug-09 2:37 
Questionwho has the C++ code which has realize SNMP++. Pin
xpweihui19-Aug-09 0:19
xpweihui19-Aug-09 0:19 
AnswerRe: who has the C++ code which has realize SNMP++. Pin
«_Superman_»19-Aug-09 0:24
professional«_Superman_»19-Aug-09 0:24 
Questiona Design and technical issue Pin
Ahmed Charfeddine19-Aug-09 0:19
Ahmed Charfeddine19-Aug-09 0:19 
AnswerRe: a Design and technical issue Pin
Ahmed Charfeddine19-Aug-09 0:44
Ahmed Charfeddine19-Aug-09 0:44 
AnswerRe: a Design and technical issue Pin
CPallini19-Aug-09 1:52
mveCPallini19-Aug-09 1:52 
GeneralRe: a Design and technical issue Pin
Ahmed Charfeddine19-Aug-09 1:58
Ahmed Charfeddine19-Aug-09 1:58 
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 

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.