Win95-J: Apprunner crashes when loading some CJK pages

VERIFIED FIXED in M5

Status

()

Core
Internationalization
P1
critical
VERIFIED FIXED
19 years ago
13 years ago

People

(Reporter: Teruko Kobayashi, Assigned: Erik van der Poel)

Tracking

Trunk
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: QA BLOCKER:fixed in local tree; need to prepare for check-in, URL)

(Reporter)

Description

19 years ago
I tested 4-8-10-99 Win32 build under Winnt4.0J and Windows 95J.

This happens under Windows 95J.

When I go to the Korean page http://home.netscape.com/ko and both Simplified Chinese and Traditional Chinese
page http://home.netscape.com/zh, Apprunner will crash.

Under Winnt 4.0J, it does not crash.
(Reporter)

Updated

19 years ago
Severity: major → critical
Priority: P3 → P1
Target Milestone: M4
(Reporter)

Updated

19 years ago
Assignee: ftang → erik
(Reporter)

Updated

19 years ago
Summary: Apprunner will crash when loading Netscape Korean and Chinese page → Apprunner will crash when loading Korean and Chinese page
(Reporter)

Comment 1

19 years ago
I tested these page under Win98J.  Apprunner does not crash.
(Reporter)

Updated

19 years ago
Summary: Apprunner will crash when loading Korean and Chinese page → Apprunner will crash when loading some CJK page
(Reporter)

Comment 2

19 years ago
Under Windows 95J, Apprunner will crash when loading some Japanese pages.
 http://babel/tests/browser/bft/sjis/bft_browser_form_sjis.html
or other HTML test cases under http://babel/tests/browser/html/new_html40/sjis/ directory.
but Apprunner does not crash when loading http://home.netscape.com/ja page.

Under Windows 95US and Windows 95Korean, Apprunner does not crash in Korean and Chinese Netscape
home pages.
(Assignee)

Updated

19 years ago
Status: NEW → ASSIGNED

Comment 3

19 years ago
Here's one workaround for this problem.

For Japanese display only, you can download the prefs.js file from here:

http://rocknroll/users/momoi/publish/

and have Bitstream Cyberbit font on your system.
You should not modify or comment out the default charset line:

 user_pref("intl.character_set", 260);

Plus of course the font settings. This takes care of the following problems:

1. Proble pages like the follolwing will load without an error and
   displays OK.

   http://home.netscape.com/ja
   http://Kaze:8000/jis.html
   http://kaze:8000/sjis.html
   http://kaze:8000/euc.html

This probably means that Korean and Chinese display will not
work all that well.

2.Windows-native fonts will not let you display Japanese. Bitstream
  font setting in the prefs,js file makes it OK.
(Assignee)

Comment 4

19 years ago
OK, I tracked this down. If you call GetTextExtentPoint32W on the character
0xB7 in the Times font on Japanese Windows 95, you crash. It also crashes if
the character is 0xFFFD.

Unbelievable. Any suggestions to workaround this?
(Assignee)

Comment 5

19 years ago
I wrote a tiny program to check this, and it does indeed crash on 0xB7, but not
on 0xFFFD. However, Mozilla does crash on 0xFFFD sometimes.

I also tried GetTextExtentPoint32A on 0xB7 on Japanese Windows 95, and it did
not crash.

Sigh. Does this mean that we need to convert from Unicode to the various code
pages before calling the Windows APIs on Windows 95?
(Assignee)

Updated

19 years ago
Target Milestone: M4 → M5
(Assignee)

Updated

19 years ago
Summary: Apprunner will crash when loading some CJK page → Win95-J: Apprunner crashes when loading some CJK pages
(Assignee)

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Reporter)

Updated

19 years ago
Status: RESOLVED → REOPENED
(Reporter)

Comment 6

19 years ago
This need to be reopened since 4810 is reopened.
(Assignee)

Updated

19 years ago
Resolution: FIXED → ---
(Assignee)

Updated

19 years ago
Status: REOPENED → ASSIGNED
(Assignee)

Updated

19 years ago
Whiteboard: fixed in local tree; need to prepare for check-in
(Assignee)

Comment 7

19 years ago
I found the bug, and fixed it in my local tree.

Updated

19 years ago
Whiteboard: fixed in local tree; need to prepare for check-in → QA BLOCKER:fixed in local tree; need to prepare for check-in

Comment 8

19 years ago
Putting on QA Blocker List.
(Assignee)

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago19 years ago
Resolution: --- → FIXED
(Reporter)

Updated

19 years ago
Status: RESOLVED → VERIFIED
(Reporter)

Comment 9

19 years ago
I verified this in Win32 5-03-08 build under Win95J.
You need to log in before you can comment on or make changes to this bug.