Click here to Skip to main content
15,880,972 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralManipulating COleDateTime objects Pin
Cedric Moonen23-Jan-08 21:35
Cedric Moonen23-Jan-08 21:35 
GeneralRe: Manipulating COleDateTime objects Pin
CPallini23-Jan-08 22:06
mveCPallini23-Jan-08 22:06 
GeneralRe: Manipulating COleDateTime objects Pin
Cedric Moonen23-Jan-08 22:16
Cedric Moonen23-Jan-08 22:16 
GeneralRe: Manipulating COleDateTime objects Pin
CPallini23-Jan-08 22:35
mveCPallini23-Jan-08 22:35 
GeneralRe: Manipulating COleDateTime objects Pin
David Crow24-Jan-08 3:12
David Crow24-Jan-08 3:12 
GeneralRe: Manipulating COleDateTime objects Pin
Cedric Moonen24-Jan-08 3:29
Cedric Moonen24-Jan-08 3:29 
GeneralRe: Manipulating COleDateTime objects Pin
David Crow24-Jan-08 5:24
David Crow24-Jan-08 5:24 
Generalget wide character and multibyte character value Pin
George_George23-Jan-08 20:10
George_George23-Jan-08 20:10 
Hello everyone,


I need to know the wide character (unicode) and multibyte (UTF-8) values of a character string of czech. I personally know nothing about czech. Is the following approach correct?

1. I use L on the character string and watch memory to get the wide character representation of the character string in little endian form;

2. I change the computer region/language to czech, and use function WideCharToMultiByte, and use CP_ACP as input code page and use the L character string as input to get the output multibyte character string output from parameter lpMultiByteStr.

Is (1) and (2) correct? Any more efficient and smart ways?


thanks in advance,
George
GeneralRe: get wide character and multibyte character value Pin
Nitheesh George23-Jan-08 22:49
Nitheesh George23-Jan-08 22:49 
GeneralRe: get wide character and multibyte character value Pin
George_George23-Jan-08 23:28
George_George23-Jan-08 23:28 
JokeRe: get wide character and multibyte character value Pin
CPallini23-Jan-08 23:34
mveCPallini23-Jan-08 23:34 
GeneralRe: get wide character and multibyte character value Pin
George_George24-Jan-08 1:31
George_George24-Jan-08 1:31 
QuestionRe: get wide character and multibyte character value Pin
CPallini24-Jan-08 1:47
mveCPallini24-Jan-08 1:47 
GeneralRe: get wide character and multibyte character value Pin
George_George24-Jan-08 2:00
George_George24-Jan-08 2:00 
GeneralRe: get wide character and multibyte character value Pin
CPallini24-Jan-08 2:19
mveCPallini24-Jan-08 2:19 
GeneralRe: get wide character and multibyte character value Pin
George_George24-Jan-08 14:19
George_George24-Jan-08 14:19 
GeneralRe: get wide character and multibyte character value Pin
CPallini24-Jan-08 21:03
mveCPallini24-Jan-08 21:03 
GeneralRe: get wide character and multibyte character value Pin
George_George24-Jan-08 21:23
George_George24-Jan-08 21:23 
GeneralRe: get wide character and multibyte character value Pin
CPallini24-Jan-08 21:27
mveCPallini24-Jan-08 21:27 
GeneralRe: get wide character and multibyte character value Pin
George_George24-Jan-08 21:47
George_George24-Jan-08 21:47 
GeneralRe: get wide character and multibyte character value Pin
CPallini24-Jan-08 21:54
mveCPallini24-Jan-08 21:54 
GeneralRe: get wide character and multibyte character value Pin
George_George24-Jan-08 22:27
George_George24-Jan-08 22:27 
GeneralRe: get wide character and multibyte character value Pin
Nemanja Trifunovic24-Jan-08 15:46
Nemanja Trifunovic24-Jan-08 15:46 
GeneralRe: get wide character and multibyte character value Pin
George_George24-Jan-08 16:36
George_George24-Jan-08 16:36 
GeneralRe: get wide character and multibyte character value Pin
Nemanja Trifunovic25-Jan-08 3:15
Nemanja Trifunovic25-Jan-08 3:15 

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.