473,830 Members | 2,287 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Displaying Japanese, Chinese, etc. in standard MFC controls

Using VC++ on an application for English Win 95/98 thru XP, how can I
display multi-byte characters (Asian languages or roman characters with
accent marks) in standard MFC controls like CEdit, RichEdit, ListCtrl's,
etc?

I know how to print Japanese/Chinese characters in CDCs using the correct
code page and MultiByteToWide Char, but I cannot get even pinyin accent marks
or any Asian characters to display in MFC controls.

Do you have to #define _UNICODE?? (I got this to work, however....)

If so, will the program work in Win 95/98 (my first try at a simple UNICODE
enabled program did not run in Win98)?

It took 2 months to figure out how to print a Japanese character.. I hope
this is easier.

J

Jul 19 '05 #1
2 5192
Jim E. wrote:
Using VC++ on an application for English Win 95/98 thru XP, how can I
display multi-byte characters (Asian languages or roman characters with
accent marks) in standard MFC controls like CEdit, RichEdit, ListCtrl's,
etc?


http://www.slack.net/~shiva/welcome.txt
http://www.slack.net/~shiva/offtopic.txt

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 19 '05 #2

"Jim E." <ji****@flash.n et> wrote in message news:lv******** ********@newssv r32.news.prodig y.com...
Using VC++ on an application for English Win 95/98 thru XP, how can I
display multi-byte characters (Asian languages or roman characters with
accent marks) in standard MFC controls like CEdit, RichEdit, ListCtrl's,
etc?


You need to ask this in a Microsoft group. I suggest
microsoft.publi c.vc.mfc

The answer is that it's rougher if you want to support the DOS based versions
of Windows (98/Me) versus the NT based ones (XP). But the easiest way
is to use the Unicode features. There's also tons of information in the MSDN
library (you can find this on Microsoft's web site as well as on the CD's you
got with Visual Studio).
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
12006
by: GPenn | last post by:
SQL 2000, latest SP. We currently have the need to store data from a UTF-8 application in multiple languages in a single database. Our findings thus far support the fact that single-byte and double-byte characters can be held in the same DB without issue. However, when holding two sets of DIFFERING double-byte characters (i.e. Chinese and Japanese) there are issues. Since Japanese has a superset of both Kanji and Katakana characters...
1
4824
by: Sven Hanefeld | last post by:
Hi, who is able to help. I want to translate my whole website into japanese language. www.nord-com.net/hanefeld What do I have to do except finding a japanese guy for the translation. Do I need to install a japanese operating system. What kind of editor is nessasary? With the unicode system I can translate Katakana and Hiragana, but no Kanji. And it is very awkward
4
4949
by: Leora Wenger | last post by:
We moved some pages of Japanese, Korean and Chinese from one server to another. In doing so, the users with Windows XP could still see the Asian fonts. However, a user with Windows 2000 could no longer see the Asian fonts, but he could when the pages were on the other server. Can anyone think of why a Windows 2000 user could once see Asian fonts but cannot now? These are the meta tags I used on those pages: <meta...
4
2253
by: wheel | last post by:
I have already built in support for multiple languages in some of my applications, but so far they have only used Western languages (English, Spanish, etc). I need to add some Far East languages: Korean, Japanese, and Chinese. Can anyone with experience in this area tell me of any special considerations? Access 2003. I've read here that the database sort order should be set to the appropriate setting and then compacted. I read too...
1
2754
by: Kots | last post by:
Hi, I have an excel sheet, and have a column called Customer Name. This column contains data that is in different languages.. english, chinese, Japanese and Korean names. I need to import this column data into SQL Server 2000 table called Customer. This table has a Customer Name column and it is nvarchar type. I trird this to import using the SQL standard "Import Data..." option but in the SQL Server column it shows ??? symbol or small...
12
2749
by: Steve Howell | last post by:
The never-ending debate about PEP 3131 got me thinking about natural languages with respect to Python, and I have a bunch of mostly simple observations (some factual, some anecdotal). I present these mostly as food for thought, but I do make my own continent-by-continent recommendations at the bottom of the email. (My own linguistic biases are also disclosed at the bottom of the email.) Nationality of various technologists who use...
2
1746
by: Victor | last post by:
Hi guys i am facing a real big problem here. I bought a hosting plan and try to build my own website. my website has several language version(chinese english japanese). but i just found out the server in my plan only support the latin based character sets. So my chinese version and japanese version can not be displayed correctly. But i dont want to switch my plan( that means i need to pay much more). Is there anyway i can display chiese and...
8
6159
by: vaskarbasak | last post by:
Hi, I'm having problems displaying Chinese and Japanese characters on Swing components. I know some conversion should be done. Do you have some source code sample or any idea ? Thanks! vaskar
0
9793
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9642
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10774
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10525
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10202
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7746
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5780
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4411
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3076
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.