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!
 
S

Severian [MVP]

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.
 
?

???

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!
 
S

Severian [MVP]

First, it's very kind of you for ur reply, thx a lot.


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.

I meant Arial Unicode MS (included with XP); Lucida Sans Unicode does
not include Chinese glyphs.
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.
 
?

???

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top