Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Turkish charecters in C++

Status
Not open for further replies.

adamahmet

Newbie level 6
Newbie level 6
Joined
Oct 13, 2003
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
76
I use Visual c++6.0 with windows xp servicepack1(Turkish version). I want to show Turkish charecters on the screen. How can I fix this problem?
 

adamahmet said:
I use Visual c++6.0 with windows xp servicepack1(Turkish version). I want to show Turkish charecters on the screen. How can I fix this problem?

Where are you printing your text? Are you using winform? console window?

Dostum nereye nasıl yazdırıyorsun da türkçe karakterler çıkmıyor ?
 

I currently use VC++ .Net and everything is O.K.
If you make API/MFC application, there shouldn't be any problem.
 

i use cout for printing the text. and i make console application or win application without MFC.
 

You must firstly convert characters in text that you want to print to OEM-defined character set. You can do this transformation by using CharToOEM Windows API.
Code:
BOOL CharToOem(

    LPCTSTR lpszSrc,	// pointer to string to translate  
    LPSTR lpszDst 	// pointer to translated string 
   );
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top