Click here to Skip to main content
15,895,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBHO IE7 problem when protected mode is ON? Pin
svt gdwl17-Jul-09 0:16
svt gdwl17-Jul-09 0:16 
AnswerRe: BHO IE7 problem when protected mode is ON? Pin
Michael Schubert17-Jul-09 0:51
Michael Schubert17-Jul-09 0:51 
GeneralRe: BHO IE7 problem when protected mode is ON? Pin
ThatsAlok18-Jul-09 7:45
ThatsAlok18-Jul-09 7:45 
QuestionSpecifying unicode strings Pin
Jon17-Jul-09 0:14
Jon17-Jul-09 0:14 
AnswerRe: Specifying unicode strings Pin
Randor 17-Jul-09 0:32
professional Randor 17-Jul-09 0:32 
GeneralRe: Specifying unicode strings Pin
Jon17-Jul-09 0:56
Jon17-Jul-09 0:56 
GeneralRe: Specifying unicode strings Pin
Michael Schubert17-Jul-09 1:10
Michael Schubert17-Jul-09 1:10 
GeneralRe: Specifying unicode strings Pin
Jon17-Jul-09 2:49
Jon17-Jul-09 2:49 
I am sure it is the file encoding, the original file is encoded in Western and if I open the file in a text editor the string reads:

"abdefghijklmnoprstuvxyzáéíóúýðþæö"


through some dev studio magic the editor there shows the correct values (but it doesn't run correctly):

"abdefghijklmnoprstuvxyzáéíóúýðþæö"


If I change the file to UTF-16 then the text editor and the runtime all agree. Could it be that the file is using MBCS?


I'm using dev studio 2008, if you select file->save as, then click the arrow by the save and select "save with encoding...", one of the options is "Unicode - Codepage 1200".
Looking this up on wikipedia shows that this is:
# 1200 — UCS-2LE Unicode little-endian


Jon
GeneralRe: Specifying unicode strings Pin
Michael Schubert17-Jul-09 3:12
Michael Schubert17-Jul-09 3:12 
GeneralRe: Specifying unicode strings Pin
Jon17-Jul-09 3:30
Jon17-Jul-09 3:30 
AnswerRe: Specifying unicode strings Pin
Michael Schubert17-Jul-09 0:41
Michael Schubert17-Jul-09 0:41 
GeneralRe: Specifying unicode strings Pin
Jon17-Jul-09 1:11
Jon17-Jul-09 1:11 
AnswerRe: Specifying unicode strings Pin
Adam Roderick J17-Jul-09 0:56
Adam Roderick J17-Jul-09 0:56 
GeneralRe: Specifying unicode strings Pin
Jon17-Jul-09 1:10
Jon17-Jul-09 1:10 
AnswerRe: Specifying unicode strings Pin
Nemanja Trifunovic17-Jul-09 3:46
Nemanja Trifunovic17-Jul-09 3:46 
QuestionIHTMLTxtRange::pasteHTML crash, any idea??? Pin
Ram-Murthi17-Jul-09 0:02
Ram-Murthi17-Jul-09 0:02 
QuestionVS 2008, error C4430 Pin
Nandu_77b16-Jul-09 23:40
Nandu_77b16-Jul-09 23:40 
AnswerRe: VS 2008, error C4430 [modified] Pin
Rajesh R Subramanian16-Jul-09 23:51
professionalRajesh R Subramanian16-Jul-09 23:51 
QuestionRe: VS 2008, error C4430 Pin
Nandu_77b16-Jul-09 23:58
Nandu_77b16-Jul-09 23:58 
AnswerRe: VS 2008, error C4430 Pin
Rajesh R Subramanian17-Jul-09 0:05
professionalRajesh R Subramanian17-Jul-09 0:05 
GeneralRe: VS 2008, error C4430 Pin
Nandu_77b17-Jul-09 0:22
Nandu_77b17-Jul-09 0:22 
GeneralRe: VS 2008, error C4430 Pin
Rajesh R Subramanian17-Jul-09 0:28
professionalRajesh R Subramanian17-Jul-09 0:28 
AnswerRe: VS 2008, error C4430 Pin
Stuart Dootson17-Jul-09 1:02
professionalStuart Dootson17-Jul-09 1:02 
GeneralRe: VS 2008, error C4430 Pin
Rajesh R Subramanian17-Jul-09 1:03
professionalRajesh R Subramanian17-Jul-09 1:03 
GeneralRe: VS 2008, error C4430 Pin
Stuart Dootson17-Jul-09 3:55
professionalStuart Dootson17-Jul-09 3:55 

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.