Solved

C++ gives japanese text not english

Posted on 2011-09-06
2
204 Views
Last Modified: 2012-05-12
I am trying to write my first Win32 application using Microsoft Visual C++ 2010 Express Edition.
However instead of getting "Hello World" I am getting what looks like Japanese text in the window.
What am I doing wrong? I thought I was getting "Hello World"
0
Comment
Question by:norman1312
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
norman1312 earned 0 total points
ID: 36495089
Panic over. Apparently I was using TextOutW (or so).instead of TextOutA. That makes all the difference
0
 

Author Closing Comment

by:norman1312
ID: 36495094
Using wrong routine. This is the first time I have come up against Unicode and ANSI options.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

732 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