Closed Bug 36954 Opened 24 years ago Closed 24 years ago

Japanese(Shift_JIS) char coding menu missing on Linux, random others missing on other platforms

Categories

(Core :: Internationalization, defect, P3)

x86
All
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cwang, Assigned: cata)

References

Details

(Whiteboard: [nsbeta2+] I have fix in my tree, you can see the diff here)

Ovserved on 2000-04-24-09-M16 comm build.

steps to reproduce:

1. Choose View via task bar
2. Character Coding-->Mutibyte

actual result:Japanese (Shift_JIS) text is missing from Multibyte's listing.
Expected result:Japanese (Shift_JIS) text should be listed if clicking Multibyte 
label
Summary: Character Coding's Multibyte is missing Japanese (Shift_JIS) text → Character Coding's Multibyte is missing Japanese (Shift_JIS) text
Is that true the Shift_JIS move other places in the menu ? Is that esay to spot 
or not ?
cata can you talk to cwang about this issue. Is this the *feature* that you 
implement the dynamic menu ? 
Assignee: ftang → cata
reassign to cata
This should be fixed as today's build. Works fine in my tree. Please let me know 
if we have any problems.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
On my linux machine, it only shows Japanese-2022-JP and Japanese(UEC-JP)on 
todays build.
Damn! Are you sure it is today's tree? I checked in this code last night. Any 
chance it didn't pick up the changes?
It is missing only linux's build althouhg Cata marks fixed. I am going to watch 
it for the coming builds. XiangLan, would you please check your linux for this 
behavior on today's build? 
Yes, it is missing on my linux build too. It shouldn't be a machine specific problem
Thanks. If tomorrow is the same, we have to reopen this bug.
This still happens in 2000042509 Linux build.  
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
Target Milestone: --- → M17
Keywords: nsbeta2
FYI, there's an extra Simp Chinese (GB2312) char coding menu in Linux bld. 
Editing Summary from "Character Coding's Multibyte is missing Japanese 
(Shift_JIS) text" to "Japanese(Shift_JIS) char coding menu missing in Linux bld"
Summary: Character Coding's Multibyte is missing Japanese (Shift_JIS) text → Japanese(Shift_JIS) char coding menu missing in Linux bld
[nsbeta2+]
Whiteboard: [nsbeta2+]
Similar problem in mail compose, gb2312 is missing from the menu (saw this in 
win32 build).
Another problem in mail view, ISO-8859-1 is missing from the menu (saw this in 
win32 build).
I'm chasing this baby as we speak...
I have a fix for this:

S:\mozilla\intl\uconv\src>cvs diff -c *.cpp
Index: nsCharsetMenu.cpp
===================================================================
RCS file: /cvsroot/mozilla/intl/uconv/src/nsCharsetMenu.cpp,v
retrieving revision 1.32
diff -c -r1.32 nsCharsetMenu.cpp
*** nsCharsetMenu.cpp   2000/05/16 22:19:00     1.32
--- nsCharsetMenu.cpp   2000/05/18 23:11:50
***************
*** 942,948 ****
      // if this charset is not on the accepted list of charsets, ignore it
      PRInt32 index;
      res = aDecs->GetIndexOf(atom, &index);
!     if (NS_SUCCEEDED(res) && (index > 0)) {

        // else, add it to the menu
        res = AddCharsetToContainer(aRDFServ, aCCMan, aArray, aContainer, atom,

--- 942,948 ----
      // if this charset is not on the accepted list of charsets, ignore it
      PRInt32 index;
      res = aDecs->GetIndexOf(atom, &index);
!     if (NS_SUCCEEDED(res) && (index >= 0)) {

        // else, add it to the menu
        res = AddCharsetToContainer(aRDFServ, aCCMan, aArray, aContainer, atom,

Bob, how can we get this evaluated and checked in?
Guys, thanks a lot for catching this bug! Nasty one...
Whiteboard: [nsbeta2+] → [nsbeta2+] I have fix in my tree, you can see the diff here
OS: Linux → All
Fixed...
Status: ASSIGNED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
Summary: Japanese(Shift_JIS) char coding menu missing in Linux bld → Japanese(Shift_JIS) char coding menu missing on Linux, random others missing on other platforms
*** Bug 41304 has been marked as a duplicate of this bug. ***
I verified this in 2000-06-02-08 Linux build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.