Click here to Skip to main content
15,885,804 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Data corruption during File Write Pin
JudyL_MD7-Dec-07 2:02
JudyL_MD7-Dec-07 2:02 
GeneralRe: Data corruption during File Write Pin
Bram van Kampen7-Dec-07 12:46
Bram van Kampen7-Dec-07 12:46 
Generalerrors in converting code from multibyte to unicode Pin
neha.agarwal276-Dec-07 20:13
neha.agarwal276-Dec-07 20:13 
GeneralRe: errors in converting code from multibyte to unicode Pin
kcynic6-Dec-07 20:42
kcynic6-Dec-07 20:42 
GeneralRe: errors in converting code from multibyte to unicode Pin
CPallini6-Dec-07 23:47
mveCPallini6-Dec-07 23:47 
GeneralRe: errors in converting code from multibyte to unicode Pin
krmed7-Dec-07 1:59
krmed7-Dec-07 1:59 
GeneralHelp about characterset [modified] Pin
kcynic6-Dec-07 20:11
kcynic6-Dec-07 20:11 
GeneralRe: Help about characterset Pin
Hamed Musavi7-Dec-07 3:25
Hamed Musavi7-Dec-07 3:25 
The problem is that a computer with the language you are talking about, created the file with it's own charsets and fonts. Codes for these characters has a glyph in that font but they don't in your current font or they even don't exist in your current character set. Some info about these terms[^]

So here you have two options:

1. The hard and right way: define your application to use Unicode. You shall take care of all strings and all functions that use strings since each character will take (at least) two bytes instead of usual one byte. You also should take care of all functions that ask you to enter Size or Length of the string which will be different. I'm still not 100% sure this helps when printing, but as softwares like MS Office Word can do the job, they'll do it this way probably.

2. The easy way(might not help for printing): Install the language in your computer and ask windows to select it as your default language for NON-UNICODE applications: Go to control panel->Regional and language options, select Advanced tab and check if you can find the language you want in the combo box under 'Language for non Unicode programs' if not go to Language tab where you should select if it's an East Asian or if it has complex scripts, then apply and return back to Advanced. Find the language and select it. Apply changes and your application should not show those characters any longer, but I doubt it fixes print problem. Also note that in VC6 You have to right click on dialogs in your resource view and choose [Neutral] instead of default English language if you want to show characters truely on screen.


// "In the end it's a little boy expressing himself." Yanni


while (I'm_alive)
{
cout<<"I love programming.";
}

GeneralRe: Help about characterset Pin
kcynic7-Dec-07 14:14
kcynic7-Dec-07 14:14 
GeneralRe: Help about characterset Pin
Hamed Musavi7-Dec-07 19:24
Hamed Musavi7-Dec-07 19:24 
QuestionHelp! How to change the color of the current row in datagrid [modified] Pin
shakaqrj6-Dec-07 19:49
shakaqrj6-Dec-07 19:49 
GeneralHelp in visual C++ Pin
cinzhan6-Dec-07 19:39
cinzhan6-Dec-07 19:39 
GeneralRe: Help in visual C++ Pin
ThatsAlok6-Dec-07 20:11
ThatsAlok6-Dec-07 20:11 
Generaldata map declartion. Pin
CodingLover6-Dec-07 18:53
CodingLover6-Dec-07 18:53 
GeneralRe: data map declartion. Pin
Karismatic6-Dec-07 19:34
Karismatic6-Dec-07 19:34 
GeneralRe: data map declartion. Pin
CodingLover6-Dec-07 20:04
CodingLover6-Dec-07 20:04 
GeneralRe: data map declartion. Pin
jhwurmbach6-Dec-07 21:40
jhwurmbach6-Dec-07 21:40 
GeneralRe: data map declartion. Pin
David Crow7-Dec-07 2:57
David Crow7-Dec-07 2:57 
GeneralExplorer view Pin
john56326-Dec-07 18:27
john56326-Dec-07 18:27 
GeneralRe: Explorer view Pin
Nelek6-Dec-07 21:29
protectorNelek6-Dec-07 21:29 
Generalaccess to archive Pin
patrickinminneapolis6-Dec-07 15:54
patrickinminneapolis6-Dec-07 15:54 
GeneralRe: access to archive Pin
Mike Dimmick7-Dec-07 16:49
Mike Dimmick7-Dec-07 16:49 
GeneralDirectX problem Pin
MarkB7776-Dec-07 12:36
MarkB7776-Dec-07 12:36 
GeneralRe: DirectX problem Pin
Mark Salsbery6-Dec-07 14:28
Mark Salsbery6-Dec-07 14:28 
GeneralRe: DirectX problem Pin
MarkB7776-Dec-07 15:13
MarkB7776-Dec-07 15:13 

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.