Closed
Bug 23859
Opened 25 years ago
Closed 25 years ago
Convert nsIRegistry to take wstring instead of string
Categories
(Core :: XPCOM, defect, P2)
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: dveditz, Assigned: dveditz)
References
Details
(Whiteboard: [PDT+] 2/15)
The underlying registry stores in utf8, but people calling the API don't seem to know that. Especially JS/XPConnect which does the wrong conversion for "string" arguments. By making the API Unicode we know we can do the safe conversion inside the nsIRegistry class.
Assignee | ||
Updated•25 years ago
|
Target Milestone: M13
Assignee | ||
Updated•25 years ago
|
Target Milestone: M13 → M14
Assignee | ||
Comment 1•25 years ago
|
||
Too destabilizing to attempt in M13, need to do first thing in M14
Can you rely on the registry to do this XP? Putting on PDT- radar for beta1. Would not hold for beta. bobj, your thoughts any different?
QA Contact: dp → dveditz
Whiteboard: [PDT-]
Assignee | ||
Comment 4•25 years ago
|
||
Unicode -> UTF8 is a lossless mechanical bit re-arrangement, it's not a traditional character set conversion. This bug blocks creation of profiles when the name or directory contains 8-bit characters. E.g. Japanese or European users, Mac users with funny chars like that script "f" in their folder names, etc.
Cleared PDT- for reconsideration. As dveditz points out, this would restrict profiles and pathnames (we also have some resource URLs in the registry) to ASCII.
Whiteboard: [PDT-]
At present we are not able to test any of the profile manager functionalities due this limitation. This inturns makes it difficult for other components to use the profile service on the i18n systems. We should consider this implementation for beta as this means making the browser i18n friendly. Making bug 15264 (making profile manager i18n compatible) dependent on this.
Blocks: 15264
Updated•25 years ago
|
Whiteboard: [PDT+]
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 8•25 years ago
|
||
I hope to get this checked in on 2/12 to give the profile manager team time to adapt to the new interface.
Whiteboard: [PDT+] → [PDT+] 2/15
Assignee | ||
Comment 9•25 years ago
|
||
Fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•25 years ago
|
||
The enumeration interface was not converted, the crucial one for the profile code
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 11•25 years ago
|
||
Added the wstring apis to the enumerator objects as well.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Comment 12•25 years ago
|
||
Gona have to trust you words on this one, unless you have a way for jimmylee to vefify. Marking Verified. Please reopen is a problem
Status: RESOLVED → VERIFIED
Comment 13•25 years ago
|
||
Cc'd msanz and teruko, so they can test with intl profile names/directories.
You need to log in
before you can comment on or make changes to this bug.
Description
•