Profile stored in the wrong directory due to improper character conversion

RESOLVED INCOMPLETE

Status

Core Graveyard
Profile: BackEnd
RESOLVED INCOMPLETE
14 years ago
2 years ago

People

(Reporter: Aaron Kaluszka, Unassigned)

Tracking

({intl})

Trunk
x86
Windows Server 2003

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

14 years ago
My computer name is ALT+0160, the no-break space.  This is a reinstall, so
Windows named my profile directory "Administrator. "  The Firefox profile data
is thus located at "C:\Documents and Settings\Administrator. \Application
Data\Firefox"  However, my Firefox cache is located under "C:\Documents and
Settings\ADMINISTRATOR. \APPLICATION DATA\Firefox" instead.  The  looks like
some artifact of bad Unicode conversion.

Comment 1

14 years ago
What's your default system locale? Log-on as a user with the admin. privilige
(or you can run 'region and language setting' as that user by clicking it with
the right-mouse button and choosing 'run as') and select 'Advanced tab'. See
what's the value for 'Lanugage for non-unicode programs'. 

(Reporter)

Comment 2

14 years ago
English (United States)

Comment 3

14 years ago
Are any other files besides the "Cache" directory and its contents located under
"C:\Documents and
Settings\ADMINISTRATOR. \APPLICATION DATA\Firefox"?

Are the rest of Firefox's profile files located under "C:\Documents and
Settings\Administrator. \Application
Data\Firefox"?

Comment 4

14 years ago
U+00A0 (NBSP) in UTF-8 is '0xc2 0xa0' which represents 'Latin Capital letter A
with circumflex' followed by 'NBSP' when interpreted as Windows-1252(or
ISO-8859-1). So, somewhere UTF16 to UTF8 conversion is used where UTF16 to
Windows-1252 (the native system encoding) should be used. 

(Reporter)

Comment 5

14 years ago
Yes, all of the other profile files are there, and I just realized that the
files in my non  directory haven't been updated in a month... I guess this
means the problem is somewhere higher up than the cache.  I'll backup my profile
and wipe everything to see if it still happens.
Assignee: darin → nobody
Component: Networking: Cache → Profile: BackEnd
QA Contact: core.networking.cache → core.profile-manager-backend
Summary: Cache stored in the wrong directory due to improper character interpretation → Profile stored in the wrong directory due to improper character conversion

Comment 6

14 years ago
Adding some people to CC. Do you have a similar problem with a non-ASCII user
name or a non-ASCII machine name? 

> This is a reinstall, so Windows named my profile directory 
> "Administrator.<nbsp>" (I'm using '<nbsp>' in place of an actual NBSP) 

Does Windows always name the profile directory 'username' followed by '.' and
the machine name if 'C:\Documents and Settings\username' already exists? 
Keywords: intl
I cannot reproduce with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7)
Gecko/20040728 Firefox/0.9.1+

I tested user name is 'Administrator.テスト'.

Aaron:
What do you use the version of firefox?

Comment 8

13 years ago
Bug 84384 is related.

Prog.

Comment 9

13 years ago
(In reply to comment #8)
> Bug 84384 is related.

No, it's not. Note that U+00A0 is covered by the repoter's locale encoding
(Windows-1252). Can anybody answer my question (the bottom half) in comment #6? 

Comment 10

8 years ago
(In reply to comment #6)
> Does Windows always name the profile directory 'username' followed by '.' and
> the machine name if 'C:\Documents and Settings\username' already exists?

rs, do you know any reason why it wouldn't?
iirc and it has been awhile Windows will append machine or domain name for a domain account to the name if it exists already locally along with three digits starting with 000.
Blocks: 1243899

Comment 12

2 years ago
This bug is filed in a bugzilla component related to pre-Firefox code which no longer exists. I believe it is no longer relevant and I am therefore closing it INCOMPLETE.

If you believe that this bug is still valid and needs to be fixed, please reopen it and move it to the Toolkit:Startup and Profile System product/component.
No longer blocks: 1243899
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
(Assignee)

Updated

2 years ago
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.