Solved

C++ gives japanese text not english

Posted on 2011-09-06
2
169 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
  • 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now