Closed Bug 342218 Opened 19 years ago Closed 14 years ago

Microsummary that links to a text file without a character encoding in HTTP response header doesn't work right

Categories

(Firefox Graveyard :: Microsummaries, defect, P2)

2.0 Branch
x86
Linux

Tracking

(Not tracked)

RESOLVED WONTFIX
Firefox 2 beta2

People

(Reporter: ispiked, Unassigned)

Details

(Keywords: testcase, Whiteboard: [microsummaries-feature-removal])

Attachments

(1 file)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1a3) Gecko/20060620 BonEcho/2.0a3 Steps to reproduce: 1. Load testcase. 2. Add Bookmark > Choose microsummary from dropdown. 3. Choose Bookmarks Toolbar to add to; add. Results: Character encoding defaults to UTF-8 (I'm assuming) and doesn't look right. Expected results: We somehow figure out that the page is encoded in EUC-JP and use that. This is pretty edge case-ish, but nevertheless a bug.
Attached file testcase
Keywords: testcase
Not sure it'll be possible to get to this in the Firefox 2 timeframe. My guess is that we'd have to do some kind of charset sniffing, and it's unclear how much support there is for that in XMLHttpRequest, which we're using to download text microsummaries. We might have to use a different facility to download these files, which seems too significant a change to make it into Firefox 2. But targeting there anyway, since it'd be good to get it in.
Priority: -- → P2
Whiteboard: [myk-mss]
Target Milestone: --- → Firefox 2 beta2
Component: Bookmarks → Microsummaries
Whiteboard: [myk-mss]
Isn't the proper solution here for the server to send a HTTP Content-Type header w/ a charset specification? If I load the text file directly in the browser, it just displays it as "garbage" in the default ISO-8859-1 charset. So, it would seem we're consistent with the browser's handling of the file? Does the browser do something different in other locales? I'm aware of the View -> Character Encoding stuff, but I'm not familiar with when/how it's used...
I have simillar problem with pages in czech. The pages are displayed correctly (FF probably uses some quirks to know when to use HTTP header and when the <meta> tag), but the microsummaries are sometimes displayed it the codepage of currently displayed page and not of the bookmarked one! (I'm using FF 2.0b2)
QA Contact: bookmarks → microsummaries
- BUGSPAM - Wontfixing all Microsummaries bugs, since the feature has been removed from the core product and previous versions won't get further fixes for it. If interested in supporting Microsummaries in your add-on, you're free to use our old microsummaries code and to search all previously open bugs by looking for [microsummaries-feature-removal] in the status whiteboard field.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Whiteboard: [microsummaries-feature-removal]
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: