Click here to Skip to main content
15,902,922 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CString Pin
chandu00418-Jun-09 0:57
chandu00418-Jun-09 0:57 
AnswerRe: CString Pin
CPallini18-Jun-09 0:09
mveCPallini18-Jun-09 0:09 
AnswerRe: CString Pin
KarstenK18-Jun-09 2:42
mveKarstenK18-Jun-09 2:42 
QuestionHow do Non - Unicode applications support different language strings? Pin
Super Hornet17-Jun-09 23:41
Super Hornet17-Jun-09 23:41 
GeneralRe: How do Non - Unicode applications support different language strings? Pin
Super Hornet18-Jun-09 0:20
Super Hornet18-Jun-09 0:20 
GeneralRe: How do Non - Unicode applications support different language strings? Pin
CPallini18-Jun-09 0:34
mveCPallini18-Jun-09 0:34 
AnswerRe: How do Non - Unicode applications support different language strings? Pin
KarstenK18-Jun-09 2:14
mveKarstenK18-Jun-09 2:14 
AnswerRe: How do Non - Unicode applications support different language strings? Pin
Emilio Garavaglia18-Jun-09 21:42
Emilio Garavaglia18-Jun-09 21:42 
That's not as "easy" as it may seems, because sometimes even the hardware is involved...

Let me go back in the early days when the fist IBM PC comes to light: there was the ASCII charset (7 bit) that IBM extended adding 128 more character, fitting 1 byte, and adding gliphs to satisfy many latin-derived alphabets (accented vovels, diacritics. etc, pus some "semigraphics").
This did't in fact satisfy any of the langags since all of the supported ones always had something missing.

When windows comes along, a number of "localizations" had been done by basically replacing some useless glyphs (for a specific language) with more useful ones. This led to a number of different character maps (the so called "codepages") some of them still fitting the 256 glyphs space and some other going ahead of that number by using particular "escapes" (and hence requiring MBCS or DBCS support from the string manipulation functions and from the font definitions, as well from the graphics drivers.

Unicode then standardized all that stuff by giving to any existing "glyph" a specific and unique ID. That makes -in theory- possible to depict all the glyphs in any font but - beware - that requires lot of space so not all font makers does that (or does that in different packaging).

So: non-unicode applications to properly display characters must not only rely on the specification of the langID, but also require the corresponding codepage in the system, and since they cannot be contemporary used (a same code means a different glyph within a different codepage) the kernel (better: the user-side of it: user.dll and gdi.dll) must know which codepage has to use.
But this requires dismounting a driver and mounting another one, affecting the system globally.
That's makes your problem not solvable as an "application local problem".


2 bugs found.
> recompile ...
65534 bugs found.
D'Oh! | :doh:


QuestionHow to get control of context menu? Pin
Md. Ali Naser Khan17-Jun-09 23:02
Md. Ali Naser Khan17-Jun-09 23:02 
AnswerRe: How to get control of context menu? Pin
KarstenK18-Jun-09 2:16
mveKarstenK18-Jun-09 2:16 
QuestionHow to avoid value repetition in the CListCtrl Pin
Murugan k17-Jun-09 22:26
Murugan k17-Jun-09 22:26 
AnswerRe: How to avoid value repetition in the CListCtrl Pin
Nibu babu thomas17-Jun-09 22:30
Nibu babu thomas17-Jun-09 22:30 
GeneralRe: How to avoid value repetition in the CListCtrl Pin
Murugan k17-Jun-09 23:05
Murugan k17-Jun-09 23:05 
GeneralRe: How to avoid value repetition in the CListCtrl Pin
Nibu babu thomas17-Jun-09 23:09
Nibu babu thomas17-Jun-09 23:09 
QuestionRe: How to avoid value repetition in the CListCtrl Pin
CPallini17-Jun-09 22:32
mveCPallini17-Jun-09 22:32 
AnswerRe: How to avoid value repetition in the CListCtrl Pin
chandu00417-Jun-09 22:34
chandu00417-Jun-09 22:34 
QuestionSaving data from a Listcontrol to a file Pin
V K 217-Jun-09 22:10
V K 217-Jun-09 22:10 
AnswerRe: Saving data from a Listcontrol to a file Pin
chandu00417-Jun-09 22:26
chandu00417-Jun-09 22:26 
QuestionRe: Saving data from a Listcontrol to a file Pin
CPallini17-Jun-09 22:28
mveCPallini17-Jun-09 22:28 
QuestionReg: Query for xsd(XML Schema) parser problem in MFC VC++ Pin
hemamerp17-Jun-09 21:24
hemamerp17-Jun-09 21:24 
AnswerRe: Reg: Query for xsd(XML Schema) parser problem in MFC VC++ Pin
CPallini17-Jun-09 21:40
mveCPallini17-Jun-09 21:40 
Questionsupress/hide "System Settings Change" message box Pin
vv_vksunny17-Jun-09 20:47
vv_vksunny17-Jun-09 20:47 
QuestionHow to delete an exe that runs for ever. Pin
Deepu Antony17-Jun-09 20:00
Deepu Antony17-Jun-09 20:00 
AnswerRe: How to delete an exe that runs for ever. Pin
UserNameless17-Jun-09 20:08
UserNameless17-Jun-09 20:08 
GeneralRe: How to delete an exe that runs for ever. Pin
Deepu Antony17-Jun-09 20:14
Deepu Antony17-Jun-09 20:14 

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.