Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2006

Tip: Looking for answers? Try searching our database.

Is this a Unicode problem?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Norman Diamond - 31 May 2006 01:23 GMT
Here are two complete lines of output from Visual Studio 2005:

1>プロジェクト出力に Authenticode 署名しています...
1>Successfully signed: c:\T

The first line means roughly:
Doing Authenticode signature to project output.

The second line is harder to translate.  The reason is that the second line
says it successfully signed something that doesn't exist.  I don't have a
file named c:\T and I don't have a folder named c:\T.

I do have some folders in the root of c: whose names start with a T.  All of
their names are longer than one character.  All of those folders contain
files and/or subfolders.  One of them contains a subfolder which contains a
Visual Studio 2005 project.

Is this a Unicode problem?  Perhaps Visual Studio 2005 more or less handles
filename strings in Unicode?  Perhaps it was confused because the Unicode
codepoints for some characters, such as the Italian capital letter T, have a
zero value in their second byte?

In the MSDN feedback centre, Microsoft has told me enough times that
Microsoft will not fix bugs.  I'm not going to waste time posting this one
to the feedback centre.
Pavel A. - 31 May 2006 02:54 GMT
VS captures console output of various command line
tools during build.
Some of these tools probaby are not too unicode friendly.

Regards,
--PA
www.fruitfruit.com - 31 May 2006 04:41 GMT
check if your system default language and current user default language is
the same.

> Here are two complete lines of output from Visual Studio 2005:
>
[quoted text clipped - 26 lines]
> Microsoft will not fix bugs.  I'm not going to waste time posting this one
> to the feedback centre.
Norman Diamond - 31 May 2006 05:31 GMT
They are the same.  The same language version of Visual Studio 2005 was
installed onto it and the same default language was left unchanged as well.

> check if your system default language and current user default language is
> the same.
[quoted text clipped - 30 lines]
>> one
>> to the feedback centre.
www.fruitfruit.com - 31 May 2006 06:26 GMT
Maybe you can create hardlink with ANSI name for files in trouble.
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/f
sutil_hardlink.mspx?mfr=true


> They are the same.  The same language version of Visual Studio 2005 was
> installed onto it and the same default language was left unchanged as
[quoted text clipped - 36 lines]
>>> one
>>> to the feedback centre.
Norman Diamond - 31 May 2006 07:24 GMT
It doesn't look that way.  According to the page you linked, the Fsutil
command can create a hard link, but it doesn't get to say if the new name
will be stored in NTFS structures as Unicode or ANSI.  In my experience NTFS
volumes only contain names stored in Unicode.

Also, regardless of how a file system stores filenames, ANSI APIs will use
ANSI strings while interacting with the application and Unicode APIs will
use Unicode strings while interacting with the application.  For example in
either Windows XP or Windows 98, CreateFileA will take a filename from the
application in ANSI, but on a VFAT volume it would write the usual mixture
of OEM and Unicode (or if the filename fits in 8.3 then it will write OEM
only).  For example in either Windows XP or Windows 98 + MSLU, CreateFileW
will take a filename from the application in Unicode, but on a VFAT volume
it would write the usual mixture of OEM and Unicode (or if the filename fits
in 8.3 then it will write OEM only).

Therefore even if Partition Magic can change my partition from NTFS to VFAT,
Visual Studio 2005 will still be calling the same APIs that it was already
calling, and if Visual Studio 2005 gets confused by its own Unicode strings
then it will not be changed by this.

> Maybe you can create hardlink with ANSI name for files in trouble.
> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/f
sutil_hardlink.mspx?mfr=true

[quoted text clipped - 40 lines]
>>>> one
>>>> to the feedback centre.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.