Click here to Skip to main content
16,018,057 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
George_George wrote:
Why no need for me? If I need to change language settings to get the correct value, I have to and should change.


I don't think so. I think WideCharToMultiByte function keep doing is honest work regardless of your control panel settings (provided you pass it the correct codepage as argument). Hence you can check WideCharToMultiByte result to find out character codes, however you cannot correctly render the latters without setting the proper codepage in your control panel.



George_George wrote:
For the page you recommended before, there are two terms, SBCS and DBCS. When we map our term multibyte and wide character to them, is multibyte the same as SBCS and wide character the same as DBCS?


No. Wide character encoding corrensponds to UNICODE, while DBCS (and SBCS) correnspond to MultiByte.
(Maybe I'm wrong, though, I should tell you again, I'm not an expert about, my common sense is driving me on the argument).

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

[my articles]


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 
GeneralRe: get wide character and multibyte character value Pin
George_George25-Jan-08 3:19
George_George25-Jan-08 3:19 
GeneralRe: get wide character and multibyte character value Pin
Nemanja Trifunovic25-Jan-08 3:26
Nemanja Trifunovic25-Jan-08 3:26 
GeneralRe: get wide character and multibyte character value Pin
George_George25-Jan-08 3:30
George_George25-Jan-08 3:30 
GeneralRe: get wide character and multibyte character value Pin
CPallini24-Jan-08 21:08
mveCPallini24-Jan-08 21:08 
GeneralRe: get wide character and multibyte character value Pin
Nemanja Trifunovic25-Jan-08 3:17
Nemanja Trifunovic25-Jan-08 3:17 
GeneralRe: get wide character and multibyte character value Pin
Nemanja Trifunovic24-Jan-08 4:29
Nemanja Trifunovic24-Jan-08 4:29 
GeneralRe: get wide character and multibyte character value Pin
George_George24-Jan-08 14:32
George_George24-Jan-08 14:32 
GeneralRe: get wide character and multibyte character value Pin
Nemanja Trifunovic24-Jan-08 14:34
Nemanja Trifunovic24-Jan-08 14:34 
GeneralRe: get wide character and multibyte character value Pin
George_George24-Jan-08 14:58
George_George24-Jan-08 14:58 
GeneralRe: get wide character and multibyte character value Pin
Nemanja Trifunovic24-Jan-08 15:23
Nemanja Trifunovic24-Jan-08 15:23 
GeneralRegarding bakground services Pin
tasumisra23-Jan-08 19:49
tasumisra23-Jan-08 19:49 
GeneralRe: Regarding bakground services Pin
led mike24-Jan-08 5:23
led mike24-Jan-08 5:23 
GeneralConnect to Unix machine from VC++ code. Pin
cagespear23-Jan-08 17:20
cagespear23-Jan-08 17:20 

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.