473,395 Members | 1,530 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.

Is this a Unicode problem?

Here are two complete lines of output from Visual Studio 2005:

1>$B%W%m%8%'%/%H=PNO$K(B Authenticode $B=pL>$7$F$$$^$9(B...
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.

May 31 '06 #1
5 1725
VS captures console output of various command line
tools during build.
Some of these tools probaby are not too unicode friendly.
Regards,
--PA
May 31 '06 #2
check if your system default language and current user default language is
the same.
"Norman Diamond" <nd******@community.nospam> wrote in message
news:OH**************@TK2MSFTNGP03.phx.gbl...
Here are two complete lines of output from Visual Studio 2005:

1>$B%W%m%8%'%/%H=PNO$K(B Authenticode $B=pL>$7$F$$$^$9(B...
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.

May 31 '06 #3
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.
<www.fruitfruit.com> wrote in message
news:eB**************@TK2MSFTNGP02.phx.gbl...
check if your system default language and current user default language is
the same.
"Norman Diamond" <nd******@community.nospam> wrote in message
news:OH**************@TK2MSFTNGP03.phx.gbl...
Here are two complete lines of output from Visual Studio 2005:

1>$B%W%m%8%'%/%H=PNO$K(B Authenticode $B=pL>$7$F$$$^$9(B...
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.



May 31 '06 #4
Maybe you can create hardlink with ANSI name for files in trouble.
http://www.microsoft.com/resources/d....mspx?mfr=true

"Norman Diamond" <nd******@community.nospam> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
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.
<www.fruitfruit.com> wrote in message
news:eB**************@TK2MSFTNGP02.phx.gbl...
check if your system default language and current user default language
is the same.
"Norman Diamond" <nd******@community.nospam> wrote in message
news:OH**************@TK2MSFTNGP03.phx.gbl...
Here are two complete lines of output from Visual Studio 2005:

1>$B%W%m%8%'%/%H=PNO$K(B Authenticode $B=pL>$7$F$$$^$9(B...
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.


May 31 '06 #5
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.
<www.fruitfruit.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Maybe you can create hardlink with ANSI name for files in trouble.
http://www.microsoft.com/resources/d....mspx?mfr=true

"Norman Diamond" <nd******@community.nospam> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
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.
<www.fruitfruit.com> wrote in message
news:eB**************@TK2MSFTNGP02.phx.gbl...
check if your system default language and current user default language
is the same.
"Norman Diamond" <nd******@community.nospam> wrote in message
news:OH**************@TK2MSFTNGP03.phx.gbl...
Here are two complete lines of output from Visual Studio 2005:

1>$B%W%m%8%'%/%H=PNO$K(B Authenticode $B=pL>$7$F$$$^$9(B...
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.



May 31 '06 #6

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

Similar topics

8
by: sebastien.hugues | last post by:
Hi I would like to retrieve the application data directory path of the logged user on windows XP. To achieve this goal i use the environment variable APPDATA. The logged user has this name:...
8
by: Bill Eldridge | last post by:
I'm trying to grab a document off the Web and toss it into a MySQL database, but I keep running into the various encoding problems with Unicode (that aren't a problem for me with GB2312, BIG 5,...
14
by: wolfgang haefelinger | last post by:
Hi, I wonder whether someone could explain me a bit what's going on here: import sys # I'm running Mandrake 1o and Windows XP. print sys.version ## 2.3.3 (#2, Feb 17 2004, 11:45:40)
19
by: Svennglenn | last post by:
I'm working on a program that is supposed to save different information to text files. Because the program is in swedish i have to use unicode text for ÅÄÖ letters. When I run the following...
6
by: peter pilsl | last post by:
postgres 7.3.2 I store unicode-data in postgresql. The data is retrieved via webinterfaces, processed with perl and then stored in postgresql (and viceversa). All is going nice with one...
1
by: Paul | last post by:
Hi, I am extending an existing MFC app to use Unicode (for a Japanese version of the interface elements). The app's purpose is to control a peripheral device through the serial port, and the...
3
by: Kidus Yared | last post by:
I am having a problem displaying Unicode characters on my Forms labels and buttons. After coding Button1.Text = unicode; where the unicode is a Unicode character or string (‘\u1234’ or...
1
by: jrs_14618 | last post by:
Hello All, This post is essentially a reply a previous post/thread here on this mailing.database.myodbc group titled: MySQL 4.0, FULL-TEXT Indexing and Search Arabic Data, Unicode I was...
5
by: Holger Joukl | last post by:
Hi there, I consider the behaviour of unicode() inconvenient wrt to conversion of non-string arguments. While you can do: u'17.3' you cannot do:
5
by: Thierry | last post by:
Hello fellow pythonists, I'm a relatively new python developer, and I try to adjust my understanding about "how things works" to python, but I have hit a block, that I cannot understand. I...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.