Closed
Bug 112031
Opened 23 years ago
Closed 4 years ago
Can't create user profile folder when use DBCS as user name
Categories
(Core :: Internationalization, defect, P3)
Tracking
()
RESOLVED
INVALID
mozilla1.3alpha
People
(Reporter: kasumi, Assigned: jshin1987)
References
Details
(Keywords: intl, Whiteboard: [eta:8/16/2002])
Attachments
(2 files, 3 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Bienvenu
:
review+
|
Details | Diff | Splinter Review |
tested on 2001-11-25-22-0.9.4ec
OS = Win 98
1. Launch Profile manager
2. Click Create profile button and create a new user profile using DBCS as
profile name.
Such as "SHINN YU-ZA" in DBCS Katakana
3. Click Finish button
4. Check C:(maybe)Windows/Application Data/Mozilla/Profiles
You will not be able to see folder "SHINN YU-ZA", you will have .slt file
name as folder name instead.
Expected: Create profile folder having DBCS profile name same as SBCS user name
does
Comment 1•23 years ago
|
||
*** Bug 112043 has been marked as a duplicate of this bug. ***
tested on 2001-11-26-06-trunk
OS = Win XP Ja
There is no problem to have folder having DBCS.
Keywords: intl
I might need to test using 2001-11-26-06-trunk on some English Windows OS.
Please wait Yokoyama-san.
tested on 2001-11-26-06-trunk
OS = Win 98
The result is the same as 2001-11-25-22-0.9.4ec
Created holder is over written on existing folder which is created prior ec test
having .slt file name as folder name.
Comment 5•23 years ago
|
||
Your comment #2 means it works in XP-JP
so, is it a Win98 specific bug?
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.9
No.
Happened on Win 2000 as well.
I think this is regarding English Windows.
Comment 7•23 years ago
|
||
I take out topembed keyword since this is a general Double byte problem on US
Windows system.
Keywords: topembed
Comment 8•23 years ago
|
||
Ideas: add code to check if the entered profile is a valid.
Comment 9•23 years ago
|
||
> You will not be able to see folder "SHINN YU-ZA", you will have .slt file
> name as folder name instead.
This makes me suspect nsLocalFile::Append(). Take a look at this:
http://lxr.mozilla.org/mozilla/source/profile/src/nsProfile.cpp#1350
The fact the we're left with only the .slt directory and it's supposed to be the
child dir of the user name (the one that's DBCS) makes me thing the Append() of
a char* when the current leaf node was DBCS failed.
Updated•23 years ago
|
Target Milestone: mozilla0.9.9 → mozilla1.0
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla1.0.1
Comment 11•22 years ago
|
||
nsbta1+ for m1.2final
Updated•22 years ago
|
Target Milestone: mozilla1.2alpha → mozilla1.2beta
Comment 12•22 years ago
|
||
Comment 13•22 years ago
|
||
Comment 14•22 years ago
|
||
Attachment #105254 -
Attachment is obsolete: true
Comment 15•22 years ago
|
||
With above patches, we can create/delete non-locale Profile names and
file/directories. :)
Comment 16•22 years ago
|
||
*** Bug 112741 has been marked as a duplicate of this bug. ***
Comment 17•22 years ago
|
||
*** Bug 154629 has been marked as a duplicate of this bug. ***
Comment 18•22 years ago
|
||
*** Bug 101573 has been marked as a duplicate of this bug. ***
Comment 20•22 years ago
|
||
Updated•22 years ago
|
Attachment #105255 -
Attachment is obsolete: true
Comment 21•22 years ago
|
||
cc david for his input.
Comment 22•22 years ago
|
||
why not use the charset converter for converting between utf8 and unicode? Or
the string routines that do that, instead of adding new code to do it?
Comment 23•22 years ago
|
||
Oop, I didn't realize that we can call string routines from mork.......
Attachment #106038 -
Attachment is obsolete: true
Comment 24•22 years ago
|
||
you might need to change what mork links against to use the string routines (so
take care of mac, windows, and linux). The original author didn't want Mork to
depend on anything else. I would much rather use existing libraries than rewrite
everything for mork.
Is doing this with a compile time flag really the right way to go? (the answer
could be yes; I don't know). The alternative is to add a new interface to open
unicode file names, or adding a boolean parameter that says file names are in
utf8. That would involve changing all the callers, I guess, but it seems like
you have to change the callers to encode the file names in utf8 anyway.
Comment 25•22 years ago
|
||
Comment on attachment 106041 [details] [diff] [review]
Calling NS_ConvertUTF8toUCS2()
r=bienvenu, but you need to make sure it builds on all platforms; as I
mentioned before, we might not be linking in the right libs.
Attachment #106041 -
Flags: review+
Comment 26•22 years ago
|
||
right, and depends on platform wchar might not be 2bytes
Comment 28•20 years ago
|
||
I think both roy and me are off mozilla for more than 2 years. If these bugs are
still here now, I think the real stauts is 'won't fix'. If you want to reopen
it, please find a new owner for it first.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Comment 30•20 years ago
|
||
Mass Re-opening Bugs Frank Tang Closed on Wensday March 02 for no reason, all
the spam is his fault feel free to tar and feather him
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment 31•20 years ago
|
||
Reassigning Franks old bugs to Jungshik Shin for triage - Sorry for spam
Assignee: nobody → jshin1987
Status: REOPENED → NEW
Updated•15 years ago
|
QA Contact: teruko → i18n
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 20 years ago → 4 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•