Click here to Skip to main content
15,914,406 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: UNICODE in edit control Pin
Jose Lamas Rios7-Jul-05 15:51
Jose Lamas Rios7-Jul-05 15:51 
GeneralRe: UNICODE in edit control Pin
Antony T6-Jul-05 1:11
sussAntony T6-Jul-05 1:11 
GeneralRe: UNICODE in edit control Pin
David Crow6-Jul-05 2:56
David Crow6-Jul-05 2:56 
GeneralRe: UNICODE in edit control Pin
John R. Shaw7-Jul-05 15:01
John R. Shaw7-Jul-05 15:01 
Questionwhat is that high-character? Pin
maranatha5-Jul-05 15:53
maranatha5-Jul-05 15:53 
AnswerRe: what is that high-character? Pin
Jose Lamas Rios5-Jul-05 17:48
Jose Lamas Rios5-Jul-05 17:48 
GeneralRe: what is that high-character? Pin
JWood6-Jul-05 9:17
JWood6-Jul-05 9:17 
GeneralRe: what is that high-character? Pin
Jose Lamas Rios6-Jul-05 10:46
Jose Lamas Rios6-Jul-05 10:46 
JWood wrote:
Joel's a bit preachy

A bit preachy, may be. But I do find it funny and enlightening at the same time Smile | :)

JWood wrote:
there is also http://www.flipcode.com/articles/article_advstrings01.shtml[^]

I didn't know that; it's a good one too.

I think both articles complement each other well. Joel's is more conceptual. It does a very good job at explaining the character sets evolution, and the concepts behind each of the names in the dance: what's ASCII, what's ANSI, what's a code page, etc., and Unicode, of course. In particular, it explains the distinction in Unicode between the character set, that is, the mapping between characters and numeric values (and no, it isn't limited to 65536 characters), and the possible encodings to use when you need to represent Unicode code points in memory or disk (and no, it isn't always stored as 16 bit per char).

The article you linked, on the other hand, is more implementation oriented, and as such it covers details that aren't present in the one from Joel. Although is somewhat conceptually wrong when it talks about Unicode and Unicode-encoded-as-utf-16 as if they were exactly one and the same, that doesn't actually hurts much, because of its focus on Visual C++ and Win32, where that equivalence is almost always true, and even MS documentation treat them as the same thing.

So, to any beginner, I'd recommend starting with Joel's article so as to better understand the concepts, and then reading this other article by Fredrick Andersson to see how these concepts are implemented and used with Visual C++ and Win32 APIs.



--
jlr
http://jlamas.blogspot.com/[^]
GeneralRe: what is that high-character? Pin
JWood6-Jul-05 12:18
JWood6-Jul-05 12:18 
QuestionMobile source control options? Pin
charlieg5-Jul-05 15:14
charlieg5-Jul-05 15:14 
AnswerRe: Mobile source control options? Pin
S Douglas5-Jul-05 20:25
professionalS Douglas5-Jul-05 20:25 
GeneralRe: Mobile source control options? Pin
charlieg6-Jul-05 17:10
charlieg6-Jul-05 17:10 
GeneralMC-CDMA Pin
kwangster5-Jul-05 13:13
kwangster5-Jul-05 13:13 
GeneralRe: MC-CDMA Pin
David Crow5-Jul-05 16:02
David Crow5-Jul-05 16:02 
GeneralRe: MC-CDMA Pin
kwangster5-Jul-05 21:39
kwangster5-Jul-05 21:39 
GeneralUnicode and standard libraries Pin
JWood5-Jul-05 11:49
JWood5-Jul-05 11:49 
GeneralRe: Unicode and standard libraries Pin
Tim Smith5-Jul-05 12:51
Tim Smith5-Jul-05 12:51 
GeneralRe: Unicode and standard libraries Pin
JWood5-Jul-05 14:08
JWood5-Jul-05 14:08 
GeneralAdding controls manually to CWnd derrived object Pin
Budric B.5-Jul-05 11:46
Budric B.5-Jul-05 11:46 
GeneralRe: Adding controls manually to CWnd derrived object Pin
PJ Arends5-Jul-05 12:22
professionalPJ Arends5-Jul-05 12:22 
QuestionSetting breakpoints in a DLL...how? Pin
dandy725-Jul-05 9:06
dandy725-Jul-05 9:06 
AnswerRe: Setting breakpoints in a DLL...how? Pin
Peter Weyzen5-Jul-05 9:48
Peter Weyzen5-Jul-05 9:48 
GeneralRe: Setting breakpoints in a DLL...how? Pin
dandy726-Jul-05 10:23
dandy726-Jul-05 10:23 
AnswerRe: Setting breakpoints in a DLL...how? Pin
Toby Opferman5-Jul-05 10:02
Toby Opferman5-Jul-05 10:02 
Generalan interview question of undo/redo Pin
qudayong5-Jul-05 8:16
qudayong5-Jul-05 8:16 

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.