Closed
Bug 85346
Opened 23 years ago
Closed 23 years ago
Character display garbage in Page Source windows if use context menu
Categories
(Core :: Internationalization, defect, P2)
Tracking
()
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: sagiem, Assigned: ftang)
References
Details
(Keywords: intl, Whiteboard: need a= 6/19 13:11)
Attachments
(1 file)
1.15 KB,
patch
|
Details | Diff | Splinter Review |
Mozilla page source windows shows Hebrew text with wrong characters, instead of the normal Hebrew letters.
Comment 1•23 years ago
|
||
I am going to confirm this bug because I believe there is a bug in our code which somhow corrupts source display when auto-detection is on. It does not use the fotn for the determined encoding by a meta tag. I think there is a bug somewhere for which this one is a duplicate. For example, I tried the following page: http://www.masa.co.il/ with View | Character Coding | Auto-Detect | Off The page source looked OK under this setting. It is possible that Sagie is seeing this problem. But to really see the cause of the reported problem, we need an actual URL. Sagie, please provide the URL of a page which has a problem. CC'ing nhotta and ftang to see if there is a duplicate somewhere.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 2•23 years ago
|
||
Win98 Build 2001060703 Auto-Detect is set to (off) here and still no hebrew characters in source window.
Reporter | ||
Comment 3•23 years ago
|
||
the url was http://www.masa.co.il
Reporter | ||
Comment 4•23 years ago
|
||
Sorry for tripple-messaging, but I just checked http://www.guides.co.il/ and the Page Source looks good, with the proper Hebrew fonts.
Comment 5•23 years ago
|
||
I see this bug on www.masa.co.il if I use "View Frame Source" from the context menu after right-clicking in the middle of the page (in the area with the graphics of grapes, Sherlock Holmes, etc). If I open that frame separately using "Open Frame in New Window" or "Show Only This Frame" and then "View Page Source", the Hebrew is displayed correctly. Auto-detection is off for me.
Comment 6•23 years ago
|
||
Looks like the context menu "View Frame Source" option does not inherit the character set of the main document like the "View" menu "View Source" option does. Patch coming up. I can't test it at the moment since Mozilla crashes when I try to bring up a context menu on the pages in question. But it should solve this problem...
Comment 7•23 years ago
|
||
Comment 8•23 years ago
|
||
OK, I hunted down and killed that crash (it was in another chunk of code in my tree that I've modified) and tested this patch. Works great for me. The code is modeled on the BrowserViewSource() function in navigator.js Reviews? Ccing blake, since this is context menu code.
Comment 9•23 years ago
|
||
This is really not Bidi specific issue and needs to be reviewed by i18n component owner. Changed the component accordingly. Re-assigned to ftang. QA contact changed.
Assignee: mkaply → ftang
Component: BiDi Hebrew & Arabic → Internationalization
QA Contact: giladehven → andreasb
Comment 10•23 years ago
|
||
Adding keyword intl. Switching QA contact to ylong@netscape.com.
Keywords: intl
QA Contact: andreasb → ylong
Assignee | ||
Comment 11•23 years ago
|
||
r=ftang need sr.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.2
Assignee | ||
Comment 12•23 years ago
|
||
change summary to "Character display garbage in Page Source windows if use context menu"
Summary: No Hebrew in Page Source windows → Character display garbage in Page Source windows if use context menu
Assignee | ||
Updated•23 years ago
|
Whiteboard: r=ftang need sr= and a=
Assignee | ||
Comment 13•23 years ago
|
||
change status to "r=ftang , ask alecf to sr= (6/19 9:50) need a="
Whiteboard: r=ftang need sr= and a= → r=ftang , ask alecf to sr= (6/19 9:50) need a=
Comment 14•23 years ago
|
||
sr=blizzard
Assignee | ||
Updated•23 years ago
|
Whiteboard: r=ftang , ask alecf to sr= (6/19 9:50) need a= → need a= 6/19 13:11
Comment 15•23 years ago
|
||
a= asa@mozilla.org for checkin to the trunk. (on behalf of drivers)
Blocks: 83989
Comment 16•23 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 17•23 years ago
|
||
Verified on 08-24 trunk build on Wind2k-zh and Linux RH6.2-Ja, the page source looks OK now.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•