HighTechTalks DotNet Forums  

What does this mean?

Dotnet Internationalization microsoft.public.dotnet.internationalization


Discuss What does this mean? in the Dotnet Internationalization forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Andrew
 
Posts: n/a

Default What does this mean? - 10-03-2005 , 12:34 PM






Hi, friends,

My machine has English OS. When I compiled pre-existing VC++ 7.0 .sln, which
was developed under Chinese version OS, I got error as the follows:

HZPanel Batch file 'c:\UMTemp\20051001\20051001\Srcs\MBC HZPanel\MBC
HZPanel\Debug\BAT000004.bat' contains Unicode contents that could not be
translated to user's ANSI code page.
[
@echo off
regsvr32 /s /c "c:\UMTemp\20051001\20051001\Srcs\MBC HZPanel\MBC
HZPanel\Debug\HZPanel.dll"
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "执行注册"
exit 1
:VCEnd
]



What does this mean? How can I correct it?

Thanks a lot.


Reply With Quote
  #2  
Old   
Scott Smith
 
Posts: n/a

Default Re: What does this mean? - 10-03-2005 , 06:31 PM






Andrew,

Sounds like your batch file was authored in Unicode, which is a two-byte
format (aka "wide characters"). I think console output only handles
single-byte characters, and so an attempt was made to map the two-byte
unicode characters into your current code page. There probably wasn't a
mapping for the Chinese characters in the file, and so you got that error.

By the looks of your file, the only troublesome characters are in the error
message "echo Project : error PRJ0019...", in which case it's probably safe
to just replace them.

Hope that helps.

-Scott

"Andrew" <Andrew (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi, friends,

My machine has English OS. When I compiled pre-existing VC++ 7.0 .sln,
which
was developed under Chinese version OS, I got error as the follows:

HZPanel Batch file 'c:\UMTemp\20051001\20051001\Srcs\MBC HZPanel\MBC
HZPanel\Debug\BAT000004.bat' contains Unicode contents that could not be
translated to user's ANSI code page.
[
@echo off
regsvr32 /s /c "c:\UMTemp\20051001\20051001\Srcs\MBC HZPanel\MBC
HZPanel\Debug\HZPanel.dll"
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "????"
exit 1
:VCEnd
]



What does this mean? How can I correct it?

Thanks a lot.




Reply With Quote
  #3  
Old   
Andrew
 
Posts: n/a

Default Re: What does this mean? - 10-04-2005 , 10:53 AM



Thanks, Scott, I found the problem: VC++7.0 Chinese version generated some
code/settings that could not be transferred by VC++7.0 English version
properly. One had to manually correct them.

"Scott Smith" wrote:

Quote:
Andrew,

Sounds like your batch file was authored in Unicode, which is a two-byte
format (aka "wide characters"). I think console output only handles
single-byte characters, and so an attempt was made to map the two-byte
unicode characters into your current code page. There probably wasn't a
mapping for the Chinese characters in the file, and so you got that error.

By the looks of your file, the only troublesome characters are in the error
message "echo Project : error PRJ0019...", in which case it's probably safe
to just replace them.

Hope that helps.

-Scott

"Andrew" <Andrew (AT) discussions (DOT) microsoft.com> wrote in message
news:38CECD33-A891-408D-B08E-779CD27664A4 (AT) microsoft (DOT) com...
Hi, friends,

My machine has English OS. When I compiled pre-existing VC++ 7.0 .sln,
which
was developed under Chinese version OS, I got error as the follows:

HZPanel Batch file 'c:\UMTemp\20051001\20051001\Srcs\MBC HZPanel\MBC
HZPanel\Debug\BAT000004.bat' contains Unicode contents that could not be
translated to user's ANSI code page.
[
@echo off
regsvr32 /s /c "c:\UMTemp\20051001\20051001\Srcs\MBC HZPanel\MBC
HZPanel\Debug\HZPanel.dll"
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "????"
exit 1
:VCEnd
]



What does this mean? How can I correct it?

Thanks a lot.





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.