Closed
Bug 266839
Opened 20 years ago
Closed 17 years ago
Opera pref. migration code treats UTF-8 as 'ASCII'
Categories
(Firefox :: Migration, defect)
Firefox
Migration
Tracking
()
RESOLVED
FIXED
People
(Reporter: jshin1987, Assigned: jshin1987)
Details
(Keywords: intl)
Attachments
(2 files)
|
1.76 KB,
patch
|
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
|
1.75 KB,
patch
|
mconnor
:
review+
jshin1987
:
superreview+
|
Details | Diff | Splinter Review |
This is similar to bug 246403. SetWString uses 'AssignWithConversion' thta inflates each byte in C strings to a 16-bit PRUnichar. SetFile also assumes that 'paths' in the opera pref. file is in the native file system encoding when it's actully in UTF-8. A patch coming up.
| Assignee | ||
Comment 1•20 years ago
|
||
fixes SetWString and SetFile
| Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 163948 [details] [diff] [review] patch asking for r/sr
Attachment #163948 -
Flags: superreview?(bugs)
Attachment #163948 -
Flags: review?(smontagu)
| Assignee | ||
Comment 3•20 years ago
|
||
Comment on attachment 163948 [details] [diff] [review] patch SetFile() may not work until bug 256410 is properly fixed. SetWString should just work as it is.
Attachment #163948 -
Flags: superreview?(bugs)
Attachment #163948 -
Flags: review?(smontagu)
| Assignee | ||
Comment 4•18 years ago
|
||
Comment on attachment 163948 [details] [diff] [review] patch Asking for r/sr. The problem in the previous comment has been sorta resolved.(or was not much a issue in the first place).
Attachment #163948 -
Flags: superreview?(darin)
Attachment #163948 -
Flags: review?(mconnor)
Updated•18 years ago
|
Attachment #163948 -
Flags: superreview?(darin) → superreview+
| Assignee | ||
Comment 5•18 years ago
|
||
the trunk replaced 'AssignWithConversion' with 'NS_ConvertASCIItoUTF16', which is still wrong. I replaced it with 'NS_ConvertUTF8toUTF16' as in my previous patch. This was well tested back in September. Mike, pls take a moment to review it. Carrying over darin's sr because the patch is virtually identical.
Attachment #250130 -
Flags: superreview+
Attachment #250130 -
Flags: review?
| Assignee | ||
Comment 6•18 years ago
|
||
Comment on attachment 250130 [details] [diff] [review] patch updated to the trunk sorry for bug spam. i don't like bugzilla's new behavior of not prompting to pick one among multiple matches....
Attachment #250130 -
Flags: review? → review?(mconnor)
| Assignee | ||
Updated•18 years ago
|
Attachment #163948 -
Flags: review?(mconnor)
Updated•18 years ago
|
Attachment #250130 -
Flags: review?(mconnor) → review+
Comment 7•17 years ago
|
||
This was checked in 2007-01-06 http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/browser/components/migration/src/nsOperaProfileMigrator.cpp&rev=1.71&root=/cvsroot&mark=344,375#339 -> FIXED
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•