Click here to Skip to main content
15,887,585 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: wchar_t in C Pin
CPallini13-Dec-17 22:44
mveCPallini13-Dec-17 22:44 
AnswerRe: wchar_t in C Pin
Jochen Arndt13-Dec-17 22:50
professionalJochen Arndt13-Dec-17 22:50 
GeneralRe: wchar_t in C Pin
Anonygeeker13-Dec-17 23:51
Anonygeeker13-Dec-17 23:51 
GeneralRe: wchar_t in C Pin
Jochen Arndt14-Dec-17 0:09
professionalJochen Arndt14-Dec-17 0:09 
GeneralRe: wchar_t in C Pin
jschell14-Dec-17 8:48
jschell14-Dec-17 8:48 
GeneralRe: wchar_t in C Pin
Jochen Arndt14-Dec-17 11:46
professionalJochen Arndt14-Dec-17 11:46 
GeneralRe: wchar_t in C Pin
jschell16-Dec-17 8:34
jschell16-Dec-17 8:34 
GeneralRe: wchar_t in C Pin
Jochen Arndt17-Dec-17 0:33
professionalJochen Arndt17-Dec-17 0:33 
Quote:
It is intended for any character set, not just unicode. Most representations are not unicode.
Examples (I don't know one except when wchar_t is defined as char)?
Quote:
And unicode IS a variable length encoding to some meaning of that definition
There are multiple Unicode encodings where some are fixed length and some are variable length.
Quote:
So two wchar_t might be needed for a single character.
It is intended to be used for single characters. Allowing more than one requires a much more complex implementation (like with the char based Microsoft multi byte character sets).
Quote:
"UTF-32 does not make calculating the displayed width of a string easier, since even with a "fixed width" font there may be more than one code point per character position"
Fonts and there display length is not related to character encoding specifications.
Quote:
That isn't relevant. It isn't how the character set is defined but rather the extent and how it is used.
It is all about the definition regarding the required storage size.

The unused code points are there because the codes are grouped (each script or symbol type has an assigned range). See Unicode block - Wikipedia[^]. So new characters / symbols can be added later to the belonging group (a rather old example is the Euro symbol).

The grouping has been choosen because with 32 bits there is enough room. Unicode already contains nearly all known scripts including ancient ones like Runes and Mayan glyphs and a wide range of symbols.
GeneralRe: wchar_t in C Pin
jschell18-Dec-17 15:30
jschell18-Dec-17 15:30 
GeneralRe: wchar_t in C Pin
Jochen Arndt18-Dec-17 21:12
professionalJochen Arndt18-Dec-17 21:12 
GeneralRe: wchar_t in C Pin
jschell23-Dec-17 12:50
jschell23-Dec-17 12:50 
GeneralRe: wchar_t in C Pin
Anonygeeker14-Dec-17 17:25
Anonygeeker14-Dec-17 17:25 
GeneralRe: wchar_t in C Pin
Jochen Arndt14-Dec-17 20:48
professionalJochen Arndt14-Dec-17 20:48 
GeneralRe: wchar_t in C Pin
Anonygeeker14-Dec-17 21:53
Anonygeeker14-Dec-17 21:53 
AnswerRe: wchar_t in C Pin
leon de boer14-Dec-17 7:08
leon de boer14-Dec-17 7:08 
QuestionMFC libary makefile Pin
jung-kreidler12-Dec-17 4:29
jung-kreidler12-Dec-17 4:29 
QuestionRe: MFC libary makefile Pin
David Crow13-Dec-17 6:54
David Crow13-Dec-17 6:54 
AnswerRe: MFC libary makefile Pin
jung-kreidler13-Dec-17 21:14
jung-kreidler13-Dec-17 21:14 
AnswerRe: MFC libary makefile Pin
Richard MacCutchan13-Dec-17 7:37
mveRichard MacCutchan13-Dec-17 7:37 
GeneralRe: MFC libary makefile Pin
jung-kreidler13-Dec-17 21:17
jung-kreidler13-Dec-17 21:17 
AnswerRe: MFC libary makefile Pin
Randor 13-Dec-17 11:16
professional Randor 13-Dec-17 11:16 
AnswerRe: MFC libary makefile Pin
jung-kreidler13-Dec-17 21:23
jung-kreidler13-Dec-17 21:23 
Questioncurrent user Pin
john563211-Dec-17 19:14
john563211-Dec-17 19:14 
AnswerRe: current user Pin
Jochen Arndt11-Dec-17 23:02
professionalJochen Arndt11-Dec-17 23:02 
AnswerRe: current user Pin
Victor Nijegorodov12-Dec-17 8:34
Victor Nijegorodov12-Dec-17 8:34 

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.