Click here to Skip to main content
14,662,169 members
Home » Discussions » ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Calling a MFC dialog from win32 Pin
rdeekonda29-Jul-16 7:08
Memberrdeekonda29-Jul-16 7:08 
GeneralRe: Calling a MFC dialog from win32 Pin
Richard MacCutchan29-Jul-16 22:19
mveRichard MacCutchan29-Jul-16 22:19 
QuestionHow to open file with single quote in its name? Pin
liquid_23-Jul-16 20:09
Memberliquid_23-Jul-16 20:09 
AnswerRe: How to open file with single quote in its name? Pin
Richard MacCutchan23-Jul-16 20:52
mveRichard MacCutchan23-Jul-16 20:52 
GeneralRe: How to open file with single quote in its name? Pin
liquid_23-Jul-16 23:40
Memberliquid_23-Jul-16 23:40 
GeneralRe: How to open file with single quote in its name? Pin
Jochen Arndt24-Jul-16 0:20
professionalJochen Arndt24-Jul-16 0:20 
GeneralRe: How to open file with single quote in its name? Pin
liquid_24-Jul-16 0:21
Memberliquid_24-Jul-16 0:21 
GeneralRe: How to open file with single quote in its name? Pin
Jochen Arndt24-Jul-16 0:34
professionalJochen Arndt24-Jul-16 0:34 
That looks like UTF-8. XML files are usually UTF-8 encoded.

So you must convert from UTF-8 to wide characters after reading the file content into memory (e.g. using MultiByteToWideChar function (Windows)[^]).

Afterwards you must still check for entities as noted in my above post. Even when the WPL file does not use entities for non-ASCII characters it uses them for the reserved characters (quot, amp, apos, lt, and gt).
GeneralRe: How to open file with single quote in its name? Pin
liquid_27-Jul-16 8:06
Memberliquid_27-Jul-16 8:06 
GeneralRe: How to open file with single quote in its name? Pin
Richard MacCutchan24-Jul-16 1:26
mveRichard MacCutchan24-Jul-16 1:26 
Questioncode Pin
Member 1222782612-Jun-16 21:24
MemberMember 1222782612-Jun-16 21:24 
AnswerRe: code Pin
Jochen Arndt12-Jun-16 22:38
professionalJochen Arndt12-Jun-16 22:38 
AnswerRe: code Pin
Patrice T17-Feb-17 13:47
mvePatrice T17-Feb-17 13:47 
QuestionSending raw data to a chinese POS58 thermal printer Pin
sdancer757-Jun-16 8:42
Membersdancer757-Jun-16 8:42 
AnswerRe: Sending raw data to a chinese POS58 thermal printer Pin
Richard MacCutchan7-Jun-16 8:59
mveRichard MacCutchan7-Jun-16 8:59 
QuestionDatabase Migration in C++ and Oracle Pin
Donguy197611-May-16 11:30
MemberDonguy197611-May-16 11:30 
AnswerRe: Database Migration in C++ and Oracle Pin
Richard MacCutchan11-May-16 20:29
mveRichard MacCutchan11-May-16 20:29 
QuestionLinking my first DLL Pin
bkelly1328-Feb-16 14:53
Memberbkelly1328-Feb-16 14:53 
AnswerRe: Linking my first DLL Pin
Richard MacCutchan28-Feb-16 21:35
mveRichard MacCutchan28-Feb-16 21:35 
GeneralRe: Linking my first DLL Pin
bkelly1329-Feb-16 15:50
Memberbkelly1329-Feb-16 15:50 
GeneralRe: Linking my first DLL Pin
Richard MacCutchan29-Feb-16 21:52
mveRichard MacCutchan29-Feb-16 21:52 
GeneralRe: Linking my first DLL Pin
bkelly131-Mar-16 12:46
Memberbkelly131-Mar-16 12:46 
GeneralRe: Linking my first DLL Pin
Richard Andrew x641-Mar-16 15:01
professionalRichard Andrew x641-Mar-16 15:01 
GeneralRe: Linking my first DLL Pin
Richard MacCutchan1-Mar-16 21:58
mveRichard MacCutchan1-Mar-16 21:58 
QuestionDLL article question Resolved Pin
bkelly1327-Feb-16 11:10
Memberbkelly1327-Feb-16 11:10 

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.