Closed Bug 304757 Opened 19 years ago Closed 14 years ago

zh-CN localized Firefox displays system dialogs in zh-TW

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: emalasky, Unassigned)

References

()

Details

(Whiteboard: [CLOSEME 2010-11-01])

Attachments

(4 files, 1 obsolete file)

38.29 KB, image/jpeg
Details
1006 bytes, text/html
Details
48.00 KB, application/octet-stream
Details
206 bytes, application/octet-stream
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: http://download.mozilla.org/?product=firefox-1.0.6&os=osx&lang=zh-CN

Flash Player 8 raises a modal dialog to indicate a potential security violation.
 This dialog is localized based on the current locale.  When the OS is set to
use zh-CN and Flash raises a dialog from Firefox 1.0.6 zh-CN, the dialog itself
is in zh-TW.  Since the dialog resource provided is zh-CN, the end result is
garbage.

Reproducible: Always

Steps to Reproduce:
0. Set OS X to use Simplified Chinese
1. Install Flash Player 8 Public Beta:  
http://www.macromedia.com/software/flashplayer/public_beta/ 
2. Download the attached files to your local machine, and open testLFS132548.html
3. Click the blue dot

Actual Results:  
Dialog shows as garbage traditional chinese (see attached picture)

Expected Results:  
Dialog should show as simplified chinese (not garbage).

My hunch is that Firefox is setting the codepage to use via code rather than
relying on system settings.  If this is true, than it may just be that the
simplified chinese localization is setting the wrong codepage.
Attached file test case SWF (obsolete) —
Attached file test file HTML
Attached file test case FLA
Comment on attachment 192783 [details]
test case SWF

DO NOT USE
Attachment #192783 - Attachment is obsolete: true
Attached file good test case SWF
Tested in windows 2k Simplified Chinese version.
It works fine.
This looks like a mac platform related bug?
Yes, this is definitely a Mac-only bug.  If someone can help get a little
insight into the Mac localization, I'd be happy to investigate more on my Mac.

Is there a place in the code where FF tells the system which character encoding
to use for native resources?  Most mac apps just use the system/user
configuration; it seems that FF is doing something different.
This is a mass search for bugs that are in the Firefox General component, are UNCO, and have not been changed for 1000 days and have an unspecified version. 

Reporter, can you please update to Firefox 3.6.10, create a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles, and test again. If you still see the bug, please update this bug. If the issue is gone, please set the resolution to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: