Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Changing the default system codepage for CEdit control

Posted on 1998-10-29
2
Medium Priority
?
285 Views
Last Modified: 2013-11-20
How could I change the default system codpage to associate a new one and a certain font to a CEdit control to be able to enter Russian characters for example?
0
Comment
Question by:kghazi
2 Comments
 
LVL 1

Accepted Solution

by:
Bridge earned 200 total points
ID: 1323976
_setmbcp()
0
 

Expert Comment

by:pbidkar
ID: 1323977
Use setlocale
//code excerpt
setlocale(LC_ALL, "German");
.Do whatever you want here
//Set the locale back to the default environment
setlocale(LC_ALL, "C");
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question