473,395 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Project Build Error PRJ0025

Hi£¬you guys,

I'm a newbee in VS .Net

I installed a VS .Net 2003 Chinese Professional in my Chinese WinXP PC. When
compiling any cpp file, I got chaos codes in my output window, such as:

¨V2¨\©°?¦Á¨i¦Ä...
????...(????????)
stdafx.cpp

It doesn't matter with the Dialog based MFC project when building. But while
building a ATL project, it reported the error

"Project Build Error PRJ0025 Batch file 'file' contains Unicode contents
that could not be translated to user's ANSI code page."

What's wrong with my VS .Net? How should I do?

Thx in advance!
Nov 17 '05 #1
4 1984
On Thu, 28 Apr 2005 18:53:10 +0800, "½ðÖÇΰ" <ak*******@sohu.com>
wrote:
Hi£¬you guys,

I'm a newbee in VS .Net

I installed a VS .Net 2003 Chinese Professional in my Chinese WinXP PC. When
compiling any cpp file, I got chaos codes in my output window, such as:

¨V2¨\©°?¦Á¨i¦Ä...
????...(????????)
stdafx.cpp
Tools - Options - Environment - Fonts and Colors. Make sure to pick a
font for the output window that will display your Chinese characters.

(Though I'm surprised that XP isn't choosing a full Unicode font when
drawing those characters, so be sure that Lucida Sans Unicode is
installed.)

One cheap font I found that incorporates nearly every glyph, including
those not in Lucida, is Code2000.ttf ($5). You can try it for free.

http://home.att.net/~jameskass/#dn
It doesn't matter with the Dialog based MFC project when building. But while
building a ATL project, it reported the error

"Project Build Error PRJ0025 Batch file 'file' contains Unicode contents
that could not be translated to user's ANSI code page."


Make sure you're building a Unicode version of your project. (Project
- Properties - General, Character set.

If you are using external (command-line) build utilities, make sure
your *system* default language is Chinese. In XP, I think this is
known as the "language for non-Unicode applications," but I'm not
positive that is used from command prompts.

--
Phillip Crews aka Severian
Microsoft MVP, Windows SDK
Posting email address is real, but please post replies on the newsgroup.
Nov 17 '05 #2
???
First, it's very kind of you for ur reply, thx a lot.
Tools - Options - Environment - Fonts and Colors. Make sure to pick a
font for the output window that will display your Chinese characters.
I'm sure the font I'm using can display the Chinese characters correctly,
and I still pick any other fonts, but it doen't work.

(Though I'm surprised that XP isn't choosing a full Unicode font when
drawing those characters, so be sure that Lucida Sans Unicode is
installed.)

One cheap font I found that incorporates nearly every glyph, including
those not in Lucida, is Code2000.ttf ($5). You can try it for free.

http://home.att.net/~jameskass/#dn


The link you mentioned above is not available.

Any reply will be highly appreciated!

Nov 17 '05 #3
On Sat, 30 Apr 2005 17:35:08 +0800, "???" <ak*******@sohu.com> wrote:
First, it's very kind of you for ur reply, thx a lot.
Tools - Options - Environment - Fonts and Colors. Make sure to pick a
font for the output window that will display your Chinese characters.
I'm sure the font I'm using can display the Chinese characters correctly,
and I still pick any other fonts, but it doen't work.


If you're running a multi-lingual version of Windows, be sure that
Chinese is also selected in the language bar.

(Though I'm surprised that XP isn't choosing a full Unicode font when
drawing those characters, so be sure that Lucida Sans Unicode is
installed.)
I meant Arial Unicode MS (included with XP); Lucida Sans Unicode does
not include Chinese glyphs.
One cheap font I found that incorporates nearly every glyph, including
those not in Lucida, is Code2000.ttf ($5). You can try it for free.

http://home.att.net/~jameskass/#dn


The link you mentioned above is not available.


It works fine for me (then and now). Try:

http://home.att.net/~jameskass/
Any reply will be highly appreciated!


Also, regarding:

"Project Build Error PRJ0025 Batch file 'file' contains Unicode
contents that could not be translated to user's ANSI code page."

Is your project running a .BAT or .CMD file?

You may want to ask your questions on
news://microsoft.public.win32.programmer.international as well; there
are people there with much more knowledge of running Visual Studio on
various Windowses than I have.

--
Phillip Crews aka Severian
Microsoft MVP, Windows SDK
Posting email address is real, but please post replies on the newsgroup.
Nov 17 '05 #4
???
Thx very much! I've asked the question in
news://microsoft.public.win32.programmer.international you recomended.

If there're any progress, I'll post in this newsgroup.
Nov 17 '05 #5

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

Similar topics

0
by: Adam Clauss | last post by:
I have a C++ COM Addin I wrote for Outlook (2002) using VS.Net 2002. Having completed it, I am now looking to create a setup project and install it on another machine. I created a setup project...
12
by: Rob C | last post by:
Are there any good papers/documentation around for taking an unmanaged VC++ Project using MFC (created in VC V6) and making it managed? My main goal here to be able to implement new functionality...
1
by: Shangwu | last post by:
Hello, Hello, I am using Visual Studio .NET 2003 on both a desktop computer and a laptop computer with Windows XP SP2. I have an ATL project with interface implemented. Both the main project...
0
by: ½ðÖÇΰ | last post by:
Hi£¬you guys, I'm a newbee in VS .Net I installed a VS .Net 2003 Chinese Professional in my Chinese WinXP PC. When compiling any cpp file, I got chaos codes in my output window, such as: ...
5
by: CES | last post by:
All, I've just started to use VBStudio, up tell now I've coded with note pad, so this is all new to me. I'm trying to create my first project but I'm running into problems. I've created a base...
4
by: Bit byte | last post by:
I have a project that I normally build (without problems) from the DevStudio IDE. However, I have embarked on automating all my builds (this test project being one of several). The project...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
24
by: =?Utf-8?B?RHIuIFMu?= | last post by:
I am incorporating three existing programs into a new "all in one" program. I have added the three projects to the new all in one project. How do I instruct the new initial menu to launch the main...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.