Closed Bug 96859 Opened 24 years ago Closed 23 years ago

The order of JA character set name in Editor Save As Charset dialog is not correct

Categories

(Core :: Internationalization, defect, P3)

x86
All
defect

Tracking

()

VERIFIED DUPLICATE of bug 96856
mozilla0.9.9

People

(Reporter: teruko, Assigned: rchen)

Details

(Keywords: intl, Whiteboard: landed on the trunk)

Attachments

(1 file)

This is copy of http://bugscape.netscape.com/show_bug.cgi?id=8242 The order of Japanese character set name in Customize Character Coding dialog is not system locale order. Steps of reproduce 1. Select menu View | Character coding->Customize to open Customize Character coding dialog 2. Look at the Japanese Character set name in Available character set list The order is not system locale (Shift_JIS since I am using Japanese window). The order should be same as Default Character coding section and Mail Language section. Tested 7-27 Win32 JA build. In US build, the name is in English. The order is Ascii order. ------- Additional Comments From jbetak@netscape.com 2001-08-02 16:26 ------- Created an attachment (id=2481) patch replacing calls to the charset manager by queries to the corresponding charset menu RDF source ------- Additional Comments From jbetak@netscape.com 2001-08-02 16:30 ------- this should work, since the charset menu performs its own locale-aware collation. The RDF source used in the patch serves as a template for the "Default Character Coding" drop-down menus in both the "Languages" and "Mail Language" preference panes. BTW I realize that this is in Bugscape, since it was found in a commercial Japanese build, but we should move it to Bugzilla, since it affects all locales. ------- Additional Comments From jbetak@netscape.com 2001-08-02 16:47 ------- Created an attachment (id=2482) cleaned-up patch, removed references to the charset manager, this shows 30-50% performance gain compared to 6.1 RTM ------- Additional Comments From tao@netscape.com 2001-08-09 16:25 ------- r=tao. Please open a new bug against JS engine's builtin function sort(), thx! ------- Additional Comments From Joaquin Blas 2001-08-21 13:07 ------- Comments on the 08/02/01 16:47 patch: * readRDFString should return a value in all cases. Right now it only returns something if n is non-null. * LoadAvailableCharsets() isn't doing a lot of error checking. Is there any possibility that some of the setup code in that function can fail? * I don't think we're allocating enough space in the following diff. We're allocating an array of 1 element, yet we're indexing into it as if there were 2 elements: + availCharsetDict[i] = new Array(1); + availCharsetDict[i][0] = readRDFString(rdfDataSource, charset, kNC_name); + availCharsetDict[i][1] = charset.Value; * Are we sure that the RDF data source and the manager (ccm) can never be out of sync? Or should we stick with the old way, and just roll our own array sorter? ------- Additional Comments From jbetak@netscape.com 2001-08-21 17:09 ------- Created an attachment (id=2756) updated patch - improved error handling, groomed indentation a little, fixed array allocation size ------- Additional Comments From jbetak@netscape.com 2001-08-23 13:23 ------- kin says sr=kin dbaron: this is a little stange situation, it's filed as a Bugscape bug, since we noticed it in a Japanese Netscape build, however the changes go into the Mozilla tree. Since you are on campus - can you read this bug? Could you approve the checkin? ------- Additional Comments From David Baron 2001-08-23 16:28 ------- Changes in Mozilla should have an associated Bugzilla bug. As far as Mozilla is concerned, it's no more useful to cite a bugscape bug than it is to site an IBM PR# (and both have been done, although neither should be). ------- Additional Comments From jbetak@netscape.com 2001-08-23 16:44 ------- I agree on principle, although the QA argued in this case that the bug could not be reproduced in Mozilla, because we don't have a current Japanese language pack and although I mentioned it, I didn't insist on moving this to Bugzilla. dbaron, what do you want us to do? We can open a Bugzilla bug to document the change, if that technicality would allow this into the tree. Please also note that the verification will most likely happen in a Japanese commercial Netscape build in as soon as we have one.
Keywords: intl
QA Contact: andreasb → teruko
dbaron: this is the Bugzilla version of the Bugscape bug I was pestering you about. Could you have a look and possibly a=?
Status: NEW → ASSIGNED
Keywords: nsbranch
OS: Windows 2000 → All
Priority: -- → P3
Whiteboard: have fix, need a=
Target Milestone: --- → mozilla0.9.4
a=dbaron (on behalf of drivers)
thanks dbaron! correcting summary, marking fixed. Teruko - I'll close the corresponding Bugscape bug Monday morning. BTW for some reason both Bugzilla bug have the same description - the one from "Customize Charset".
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Summary: The order of JA character set name in Customize Character Coding dialog is not correct → The order of JA character set name in Editor Save As Charset dialog is not correct
Whiteboard: have fix, need a= → landed on the trunk
I tested this in 09-07-03-0.9.4 pseudo Ja build. The order of Ja character set name is not correct. For example, Katakana characters for character set is not correct. 1.ギリシャ語 2.キリル文字 In shift jis code, ギ(834d) and キ(834c) is displayed the opposit order.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Teruko, the order of the elements should be identical to "Default Encoding" (Language pref window) dropdown menu. Is the order there correct?
No. The default encoding list has same problem.
I checked this in 6.1 JA rtm build. This order is the same as default encoding list. The order of JA character set in Customize Character coding and Save as charset did not have this problem.
0.9.4 is out the door.
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Keywords: nsbranchnsbranch-
missed this train...
Target Milestone: mozilla0.9.5 → mozilla0.9.6
please reassign to ftang AFTER you check in the fix of 64146.
m0.9.7
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Blocks: 107067
Keywords: nsbranch-
jbetak's contract is up. Bulk move bugs to ftang
Assignee: jbetak → ftang
Status: REOPENED → NEW
ui issue, give to rchen. rchen- try to reproduce it first. It may got fixed on the trunk already. If so, mark it fixed.
Assignee: ftang → rchen
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Target Milestone: mozilla0.9.8 → mozilla0.9.9
No longer blocks: 107067
The same issue in bug 96856. *** This bug has been marked as a duplicate of 96856 ***
Status: NEW → RESOLVED
Closed: 24 years ago23 years ago
Resolution: --- → DUPLICATE
Verified as dup.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: