Closed
Bug 95560
Opened 23 years ago
Closed 19 years ago
Return "UTF-8" for nsIPlatformCharset while pass kPlatformCharsetSel_FileName
Categories
(Core :: Internationalization, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: ftang, Assigned: nhottanscp)
References
Details
(Keywords: intl)
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
While calling nsIPlatformCharset
with kPlatformCharsetSel_FileName on Macintosh, we currently return the charset
name of the system script.
Since MacOS X use UTF-8 for all the char* function of BSD file system functions
and define the file:/// URL as % escaped UTF-8, we probably should return
"UTF-8" on MacOS X instead.
see bug 95478 and 95481 for more information.
Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
fix spacing, remove tabs from the lines you are adding, test various OS versions
if you don't find any problems, r=brade
Summary: Retrun "UTF-8" for nsIPlatformCharset while pass kPlatformCharsetSel_FileName → Retrun "UTF-8" for nsIPlatformCharset while pass kPlatformCharsetSel_FileName
Reporter | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•23 years ago
|
||
This is a very very risky move. Code is simple the change is huge. move it to m95
Target Milestone: --- → mozilla0.9.5
Updated•23 years ago
|
Summary: Retrun "UTF-8" for nsIPlatformCharset while pass kPlatformCharsetSel_FileName → Return "UTF-8" for nsIPlatformCharset while pass kPlatformCharsetSel_FileName
Assignee | ||
Comment 6•23 years ago
|
||
http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/FileSystem/File_Encodings_and_Fonts.html
According to the document, BSD uses UTF-8 but HFS+ uses UTF-16.
Reporter | ||
Comment 8•23 years ago
|
||
give this to nhotta, remove target
Assignee: ftang → nhotta
Status: ASSIGNED → NEW
Target Milestone: mozilla0.9.9 → ---
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2
Assignee | ||
Updated•22 years ago
|
Target Milestone: mozilla1.2alpha → ---
Comment 9•19 years ago
|
||
This has been fixed by bug 199384.
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•